summaryrefslogtreecommitdiff
path: root/mozglue
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2021-09-30 02:11:33 +0000
committerMoonchild <moonchild@palemoon.org>2022-04-01 14:38:31 +0200
commita7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a (patch)
tree521fbd6d7c6b866fbc8d58aa538af14312a57667 /mozglue
parentcdff23ad0b3e0be2121c77a5b2415b15c7c4f0b2 (diff)
downloaduxp-a7b63631b0e84c9a5ab1ef266f8f5e26c0f62d6a.tar.gz
No issue - Clean up some obsolete/archaic code paths.
Diffstat (limited to 'mozglue')
-rw-r--r--mozglue/misc/StackWalk.cpp13
1 files changed, 0 insertions, 13 deletions
diff --git a/mozglue/misc/StackWalk.cpp b/mozglue/misc/StackWalk.cpp
index e24d76d03f..8b50ddc347 100644
--- a/mozglue/misc/StackWalk.cpp
+++ b/mozglue/misc/StackWalk.cpp
@@ -588,20 +588,7 @@ callbackEspecial64(
* This code rectifies that problem.
*/
-// New members were added to IMAGEHLP_MODULE64 (that show up in the
-// Platform SDK that ships with VC8, but not the Platform SDK that ships
-// with VC7.1, i.e., between DbgHelp 6.0 and 6.1), but we don't need to
-// use them, and it's useful to be able to function correctly with the
-// older library. (Stock Windows XP SP2 seems to ship with dbghelp.dll
-// version 5.1.) Since Platform SDK version need not correspond to
-// compiler version, and the version number in debughlp.h was NOT bumped
-// when these changes were made, ifdef based on a constant that was
-// added between these versions.
-#ifdef SSRVOPT_SETCONTEXT
#define NS_IMAGEHLP_MODULE64_SIZE (((offsetof(IMAGEHLP_MODULE64, LoadedPdbName) + sizeof(DWORD64) - 1) / sizeof(DWORD64)) * sizeof(DWORD64))
-#else
-#define NS_IMAGEHLP_MODULE64_SIZE sizeof(IMAGEHLP_MODULE64)
-#endif
BOOL SymGetModuleInfoEspecial64(HANDLE aProcess, DWORD64 aAddr,
PIMAGEHLP_MODULE64 aModuleInfo,