1
0
Fork 0

Visual studio 2013 portability: dbghelp.h required.

This commit is contained in:
Wilfried Goesgens 2016-02-29 12:54:13 +01:00
parent b5aa806c7d
commit 8f075636f4
1 changed files with 7 additions and 1 deletions

View File

@ -45,7 +45,13 @@
#define _WIN32_WINNT 0x501 #define _WIN32_WINNT 0x501
#endif // __MINGW32__ #endif // __MINGW32__
#if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) #if !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
//#include <dbghelp.h> // For SymLoadModule64 and al.
// Visual Studio 2013 has to include dbghlp.h, but it breaks 2015
#if defined(_MSC_FULL_VER) && _MSC_FULL_VER > 180031101
#else
#include <dbghelp.h> // For SymLoadModule64 and al.
#endif
#include <errno.h> // For STRUNCATE #include <errno.h> // For STRUNCATE
#endif // !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR) #endif // !defined(__MINGW32__) || defined(__MINGW64_VERSION_MAJOR)
#include <limits.h> // For INT_MAX and al. #include <limits.h> // For INT_MAX and al.