use lowercase header filenames with MinGW toolchain (#3489)

This commit is contained in:
DGarry82 2021-10-09 15:49:33 +03:00 committed by GitHub
parent 098c0c44fd
commit e13eba86e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 3 deletions

View File

@ -72,9 +72,15 @@
#if defined(_MSC_VER) #if defined(_MSC_VER)
#define USE_WINDOWS_SEH #define USE_WINDOWS_SEH
#endif #endif
#include <Windows.h> #if defined (__MINGW32__)
#include <DbgHelp.h> # include <windows.h>
#include <TCHAR.H> # include <dbghelp.h>
# include <tchar.h>
#else
# include <Windows.h>
# include <DbgHelp.h>
# include <TCHAR.H>
#endif
#include <excpt.h> #include <excpt.h>
#endif #endif