X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2917e9204382ec1ecc96de7fc98bd3068da2233c..fd15d8f1b0b437312a117b7e4509708a22e30806:/src/common/memory.cpp diff --git a/src/common/memory.cpp b/src/common/memory.cpp index ac9c0b2143..4b8af7b876 100644 --- a/src/common/memory.cpp +++ b/src/common/memory.cpp @@ -1146,7 +1146,11 @@ void wxTrace(const wxChar *fmt ...) } else #ifdef __WXMSW__ +#ifdef __WIN32__ OutputDebugString((LPCTSTR)buffer) ; +#else + OutputDebugString((const char*) buffer) ; +#endif #else fprintf(stderr, buffer); #endif @@ -1178,7 +1182,11 @@ void wxTraceLevel(int level, const wxChar *fmt ...) } else #ifdef __WXMSW__ +#ifdef __WIN32__ OutputDebugString((LPCTSTR)buffer) ; +#else + OutputDebugString((const char*) buffer) ; +#endif #else fprintf(stderr, buffer); #endif