diff options
| author | Shauren <shauren.trinity@gmail.com> | 2024-09-15 12:13:54 +0200 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2024-09-15 12:13:54 +0200 |
| commit | fd0a7ba871060c895fdf701799dbf649ee697078 (patch) | |
| tree | 88c6d64fce3df94b545b2c13b3c7178d465b3f03 /src/tools/vmap4_extractor | |
| parent | 6a5b24cacc4ea2eb55c481c400621a97d940b905 (diff) | |
Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
Diffstat (limited to 'src/tools/vmap4_extractor')
| -rw-r--r-- | src/tools/vmap4_extractor/vmapexport.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/tools/vmap4_extractor/vmapexport.cpp b/src/tools/vmap4_extractor/vmapexport.cpp index 9ab9ccfac19..cc518cfab50 100644 --- a/src/tools/vmap4_extractor/vmapexport.cpp +++ b/src/tools/vmap4_extractor/vmapexport.cpp @@ -604,3 +604,9 @@ int main(int argc, char ** argv) printf("Extract %s. Work complete. No errors.\n", VMAP::VMAP_MAGIC); 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 |
