Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'agent/system/Windows/tcf/windbgcache.h')
-rw-r--r--agent/system/Windows/tcf/windbgcache.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/agent/system/Windows/tcf/windbgcache.h b/agent/system/Windows/tcf/windbgcache.h
index 670cad7d..818e742b 100644
--- a/agent/system/Windows/tcf/windbgcache.h
+++ b/agent/system/Windows/tcf/windbgcache.h
@@ -22,12 +22,13 @@
#include <tcf/config.h>
-#if defined(WIN32)
+#if defined(_WIN32)
#if defined(__GNUC__)
# include <imagehlp.h>
#else
# define _NO_CVCONST_H
+# define _IMAGEHLP_SOURCE_
# include <dbghelp.h>
#endif
@@ -247,5 +248,5 @@ extern BOOL LocEnumerateLoadedModulesW64(HANDLE hProcess, PENUMLOADED_MODULES_CA
}
#endif
-#endif /* defined(WIN32) */
+#endif /* defined(_WIN32) */
#endif /* D_windbgcache */

Back to the top