X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/605c9c8318875c590fce53cd2ce5d5aabcc92564..ea57084d103187771c0306a6e1684e32244d6101:/src/motif/app.cpp diff --git a/src/motif/app.cpp b/src/motif/app.cpp index 0c10b96db0..bd0acfb2d8 100644 --- a/src/motif/app.cpp +++ b/src/motif/app.cpp @@ -67,7 +67,7 @@ bool wxApp::Initialize() wxBuffer = new char[BUFSIZ + 512]; #endif -#if (WXDEBUG && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT +#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT streambuf* sBuf = new wxDebugStreamBuf; ostream* oStr = new ostream(sBuf) ; @@ -212,7 +212,7 @@ int wxEntry( int argc, char *argv[] ) delete wxTheApp; wxTheApp = NULL; -#if (WXDEBUG && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT +#if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT // At this point we want to check if there are any memory // blocks that aren't part of the wxDebugContext itself, // as a special case. Then when dumping we need to ignore