From 39c5e03b749d44df346b8f37aed3eb898526365a Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 7 Aug 2020 16:35:42 +0200 Subject: Core/CrashHandler: #ifdef cleanup to make VS not choke when parsing, fixed file being all red in editor --- src/common/Debugging/WheatyExceptionReport.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'src/common/Debugging/WheatyExceptionReport.h') 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 #include #include #include #include -#include +#include #include #include -#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_ -- cgit v1.2.3