Core/Debugging: Partially revert e0fb4445cd, the cmake hack to build wheaty directly into executable is still needed as it is impossible to have it initialize before every other static variable when it resides in dll (dynamic linking only)

This commit is contained in:
Shauren
2016-11-28 20:21:21 +01:00
parent e0fb4445cd
commit 9633c8c2b7
16 changed files with 40 additions and 23 deletions

View File

@@ -1463,8 +1463,3 @@ char* WheatyExceptionReport::PrintSymbolDetail(char* pszCurrBuffer)
}
#endif // _WIN32
void InitializeCrashHandler()
{
// dummy call to make the linker not discard the compilation unit
}

View File

@@ -210,8 +210,5 @@ class WheatyExceptionReport
extern WheatyExceptionReport g_WheatyExceptionReport; // global instance of class
#endif // _WIN32
// dummy call to make the linker not discard the compilation unit
void InitializeCrashHandler();
#endif // _WHEATYEXCEPTIONREPORT_