diff options
author | Treeston <treeston.mmoc@gmail.com> | 2018-09-27 14:42:42 +0200 |
---|---|---|
committer | Treeston <treeston.mmoc@gmail.com> | 2018-09-27 14:42:42 +0200 |
commit | 1dc675f0a17d9c7d1b6e9a07d5c25cdd79bb8788 (patch) | |
tree | bb8a1a600405a2b8b0badb3afd0786e210502a01 /src/common/Debugging/Errors.cpp | |
parent | 8ad5322465802ecad2123ab8f57df4202d07279b (diff) |
Core/Misc: constexpr a bunch of things, and a missing include of Windows.h somewhere
(that last one wasn't me!)
Diffstat (limited to 'src/common/Debugging/Errors.cpp')
-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 97d8d3ff0fe..00fd41e192c 100644 --- a/src/common/Debugging/Errors.cpp +++ b/src/common/Debugging/Errors.cpp @@ -35,6 +35,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); |