Core/Misc: fixed more no pch errors

This commit is contained in:
Ovahlord
2020-03-11 13:42:42 +01:00
parent b046b19fd3
commit 2a9fc25269
37 changed files with 68 additions and 13 deletions

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