mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/CrashHandler: Compile WheatyExceptionReport only once and moved its global variable initializer to all projects using it
This commit is contained in:
@@ -434,3 +434,9 @@ variables_map GetConsoleArguments(int argc, char** argv, fs::path& configFile, f
|
||||
|
||||
return variablesMap;
|
||||
}
|
||||
|
||||
#if TRINITY_PLATFORM == TRINITY_PLATFORM_WINDOWS
|
||||
#include "WheatyExceptionReport.h"
|
||||
// must be at end of file because of init_seg pragma
|
||||
INIT_CRASH_HANDLER();
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user