aboutsummaryrefslogtreecommitdiff
path: root/src/tools/vmap4_assembler/VMapAssembler.cpp
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2024-09-15 12:13:54 +0200
committerShauren <shauren.trinity@gmail.com>2025-08-30 22:55:25 +0200
commit59e5ddd9670627f305e9b19048942ccd9992851d (patch)
tree3b48b19b4d75b291f560a58ce1e9c91e7bb884fc /src/tools/vmap4_assembler/VMapAssembler.cpp
parent9350a0f56171da02702754834180fbaac34864a9 (diff)
Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
(cherry picked from commit fd0a7ba871060c895fdf701799dbf649ee697078)
Diffstat (limited to 'src/tools/vmap4_assembler/VMapAssembler.cpp')
-rw-r--r--src/tools/vmap4_assembler/VMapAssembler.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/vmap4_assembler/VMapAssembler.cpp b/src/tools/vmap4_assembler/VMapAssembler.cpp
index 38eb53ed9be..c6d40d1ca44 100644
--- a/src/tools/vmap4_assembler/VMapAssembler.cpp
+++ b/src/tools/vmap4_assembler/VMapAssembler.cpp
@@ -62,3 +62,9 @@ int main(int argc, char* argv[])
std::cout << "Ok, all done" << std::endl;
return 0;
}
+
+#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS
+#include "WheatyExceptionReport.h"
+// must be at end of file because of init_seg pragma
+INIT_CRASH_HANDLER();
+#endif