X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/29fd317b4b5f7e9020ebb6f1187c5f8b3c28d5a3..0ea48a1f23b2c9763778f60405f051cac8bf781b:/src/common/log.cpp diff --git a/src/common/log.cpp b/src/common/log.cpp index 7268dddc04..97f406c81f 100644 --- a/src/common/log.cpp +++ b/src/common/log.cpp @@ -398,7 +398,7 @@ wxLogStderr::wxLogStderr(FILE *fp) m_fp = fp; } -#if defined(__WXMAC__) +#if defined(__WXMAC__) && !defined(__UNIX__) #define kDebuggerSignature 'MWDB' static Boolean FindProcessBySignature(OSType signature, ProcessInfoRec* info) @@ -494,7 +494,7 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) str += wxT("\r\n") ; OutputDebugString(str.c_str()); #endif // MSW -#if defined(__WXMAC__) && wxUSE_GUI +#if defined(__WXMAC__) && !defined(__WXMAC_X__) && wxUSE_GUI Str255 pstr ; strcpy( (char*) pstr , str.c_str() ) ; strcat( (char*) pstr , ";g" ) ; @@ -525,7 +525,7 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t)) DebugStr(pstr); #endif } -#endif // MSW +#endif // Mac } // ----------------------------------------------------------------------------