Index: src/win32-headers.h |
diff --git a/src/win32-headers.h b/src/win32-headers.h |
index ca1b1d8b8e005b453f65e0a99b3b613fb5520a9b..1f0ee48532ae58786037bffad7236df2f8cc0dc8 100644 |
--- a/src/win32-headers.h |
+++ b/src/win32-headers.h |
@@ -64,10 +64,10 @@ |
#undef _WIN32_WINNT |
#define _WIN32_WINNT 0x501 |
#endif // __MINGW32__ |
-#ifndef __MINGW32__ |
+#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) |
#include <dbghelp.h> // For SymLoadModule64 and al. |
#include <errno.h> // For STRUNCATE |
-#endif // __MINGW32__ |
+#endif // !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) |
#include <limits.h> // For INT_MAX and al. |
#include <tlhelp32.h> // For Module32First and al. |