Fix Win32 compilation with WITH_DBGHELP on non-MSVC
This commit is contained in:
@@ -325,10 +325,9 @@ static char *PrintModuleInfo(char *output, const char *last, HMODULE mod)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#if defined(_MSC_VER) || defined(WITH_DBGHELP)
|
#if defined(_MSC_VER) || defined(WITH_DBGHELP)
|
||||||
#if defined(_MSC_VER)
|
|
||||||
static const uint MAX_SYMBOL_LEN = 512;
|
static const uint MAX_SYMBOL_LEN = 512;
|
||||||
static const uint MAX_FRAMES = 64;
|
static const uint MAX_FRAMES = 64;
|
||||||
|
#if defined(_MSC_VER)
|
||||||
#pragma warning(disable:4091)
|
#pragma warning(disable:4091)
|
||||||
#endif
|
#endif
|
||||||
#include <dbghelp.h>
|
#include <dbghelp.h>
|
||||||
|
Reference in New Issue
Block a user