fix: switch back to NDEBUG to detect release mode

This commit is contained in:
goat 2021-08-20 02:21:48 +02:00
parent 080a71ba61
commit 95d891c6d5
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -10,7 +10,7 @@ HMODULE g_hModule;
DllExport DWORD WINAPI Initialize(LPVOID lpParam) DllExport DWORD WINAPI Initialize(LPVOID lpParam)
{ {
#if defined(_DEBUG) #if defined(NDEBUG)
ConsoleSetup(L"Dalamud Boot"); ConsoleSetup(L"Dalamud Boot");
#endif #endif
@ -44,7 +44,7 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
// =========================================================================== // // =========================================================================== //
#if defined(_DEBUG) #if defined(NDEBUG)
FreeConsole(); FreeConsole();
#endif #endif