fix: #ifndef instead of !defined()

This commit is contained in:
goat 2021-09-15 01:45:23 +02:00
parent c974a05178
commit bce65db082
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(NDEBUG) #ifndef NDEBUG
ConsoleSetup(L"Dalamud Boot"); ConsoleSetup(L"Dalamud Boot");
#endif #endif
@ -46,7 +46,7 @@ DllExport DWORD WINAPI Initialize(LPVOID lpParam)
// =========================================================================== // // =========================================================================== //
#if !defined(NDEBUG) #ifndef 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(NDEBUG) #ifndef NDEBUG
ConsoleSetup(L"Dalamud.Injector"); ConsoleSetup(L"Dalamud.Injector");
#endif #endif
@ -43,7 +43,7 @@ int wmain(int argc, char** argv)
// =========================================================================== // // =========================================================================== //
#if !defined(NDEBUG) #ifndef NDEBUG
FreeConsole(); FreeConsole();
#endif #endif