diff options
author | Treeston <treeston.mmoc@gmail.com> | 2018-09-27 14:42:42 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2021-11-12 00:16:29 +0100 |
commit | 12e76f085fee0ea20a62dbd6c886cf7cbcbebf9d (patch) | |
tree | 877802ed390a727a90a20a06a68a5319abe6d6f3 /src/common/Debugging | |
parent | 7690957ace539fbdb913817bbaa761681b35ef7b (diff) |
Core/Misc: Add a missing include of Windows.h to Errors.cpp
(that last one wasn't me!)
(cherry picked from commit 1dc675f0a17d9c7d1b6e9a07d5c25cdd79bb8788)
Diffstat (limited to 'src/common/Debugging')
-rw-r--r-- | src/common/Debugging/Errors.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Debugging/Errors.cpp b/src/common/Debugging/Errors.cpp index 59dcb9f07ea..0ee53611874 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -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); |