X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d772bf4341fd3573a6122e4ecc67edea511cdad1..0ffb2aa6e47721eebc485931efaad028b51b0565:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index 8dab25f747..e762055fc5 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -9,7 +9,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "memory.h" #endif @@ -26,7 +26,7 @@ #if (defined(__WXDEBUG__) && wxUSE_MEMORY_TRACING) || wxUSE_DEBUG_CONTEXT -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) // #pragma implementation #endif @@ -1075,16 +1075,5 @@ void wxTraceLevel(int, const wxChar * ...) #endif } -#else // wxUSE_MEMORY_TRACING && defined(__WXDEBUG__) -// Already defined in memory.h -#if 0 -void wxTrace(const char *WXUNUSED(fmt) ...) -{ -} - -void wxTraceLevel(int WXUNUSED(level), const char *WXUNUSED(fmt) ...) -{ -} -#endif #endif