Core/Misc: Add a missing include of Windows.h to Errors.cpp

(that last one wasn't me!)

(cherry picked from commit 1dc675f0a17d9c7d1b6e9a07d5c25cdd79bb8788)
This commit is contained in:
Treeston
2021-11-12 00:16:29 +01:00
committed by Shauren
parent 7690957ace
commit 12e76f085f
+1
View File
@@ -34,6 +34,7 @@
*/
#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS
#include <Windows.h>
#define Crash(message) \
ULONG_PTR execeptionArgs[] = { reinterpret_cast<ULONG_PTR>(strdup(message)), reinterpret_cast<ULONG_PTR>(_ReturnAddress()) }; \
RaiseException(EXCEPTION_ASSERTION_FAILURE, 0, 2, execeptionArgs);