diff options
author | Shauren <shauren.trinity@gmail.com> | 2020-08-07 16:35:42 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2020-08-07 17:19:18 +0200 |
commit | 39c5e03b749d44df346b8f37aed3eb898526365a (patch) | |
tree | 7438c00e12183e28c461f981dcda426db682697a /src/common/Debugging/WheatyExceptionReport.h | |
parent | 83ed35fe62c16f5697f253a9a44bba7dcb83e80d (diff) |
Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed file being all red in editor
Diffstat (limited to 'src/common/Debugging/WheatyExceptionReport.h')
-rw-r--r-- | src/common/Debugging/WheatyExceptionReport.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/common/Debugging/WheatyExceptionReport.h b/src/common/Debugging/WheatyExceptionReport.h index a3cb4b2f04c..912a98c198a 100644 --- a/src/common/Debugging/WheatyExceptionReport.h +++ b/src/common/Debugging/WheatyExceptionReport.h @@ -1,16 +1,16 @@ #ifndef _WHEATYEXCEPTIONREPORT_ #define _WHEATYEXCEPTIONREPORT_ -#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS && !defined(__MINGW32__) +#define _NO_CVCONST_H +#include <windows.h> #include <winnt.h> #include <winternl.h> #include <dbghelp.h> #include <set> -#include <stdlib.h> +#include <cstdlib> #include <stack> #include <mutex> -#define countof _countof #define WER_MAX_ARRAY_ELEMENTS_COUNT 10 #define WER_MAX_NESTING_LEVEL 4 @@ -200,5 +200,4 @@ class WheatyExceptionReport }; extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class -#endif // _WIN32 #endif // _WHEATYEXCEPTIONREPORT_ |