fix(Boot): use NDEBUG instead of _DEBUG

This commit is contained in:
goat 2021-07-17 00:28:49 +02:00
parent cb1f06ae76
commit 0f78129bf1
No known key found for this signature in database
GPG key ID: F18F057873895461
2 changed files with 4 additions and 4 deletions

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

View file

@ -7,7 +7,7 @@
int wmain(int argc, char** argv) int wmain(int argc, char** argv)
{ {
#if defined(_DEBUG) #if !defined(NDEBUG)
ConsoleSetup(L"Dalamud Injector Boot"); ConsoleSetup(L"Dalamud Injector Boot");
#endif #endif
@ -41,7 +41,7 @@ int wmain(int argc, char** argv)
// =========================================================================== // // =========================================================================== //
#if defined(_DEBUG) #if !defined(NDEBUG)
FreeConsole(); FreeConsole();
#endif #endif