X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/aa2097dda265042a8b7f9950cbe9f149acfc258d..53faea431638ee5c0013a2c888215c751fa6437b:/src/os2/app.cpp diff --git a/src/os2/app.cpp b/src/os2/app.cpp index 7cb3bd50e6..3e752ba5ff 100644 --- a/src/os2/app.cpp +++ b/src/os2/app.cpp @@ -164,7 +164,7 @@ bool wxApp::Initialize( // This is to foil optimizations in Visual C++ that throw out dummy.obj. // PLEASE DO NOT ALTER THIS. -#if !defined(WXMAKINGDLL) +#if !defined(WXMAKINGDLL) && defined(__VISAGECPP__) extern char wxDummyChar; if (wxDummyChar) wxDummyChar++; #endif @@ -510,7 +510,7 @@ wxApp::wxApp() wxApp::~wxApp() { -#ifdef wxUSE_UNICODE +#if wxUSE_UNICODE // Delete command-line args int i; for (i = 0; i < argc; i++)