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

(that last one wasn't me!)

(cherry picked from commit 1dc675f0a1)
This commit is contained in:
Treeston
2018-09-27 14:42:42 +02:00
committed by Shauren
parent 7690957ace
commit 12e76f085f

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);