#include "wx/msw/private.h" // includes windows.h for OutputDebugString
#endif
+#if defined(__WXMAC__)
+ #include "wx/mac/private.h" // includes mac headers
+#endif
+
// ----------------------------------------------------------------------------
// non member functions
// ----------------------------------------------------------------------------
m_fp = fp;
}
-#if defined(__WXMAC__) && !defined(__DARWIN__)
+#if defined(__WXMAC__) && !defined(__DARWIN__) && (__MWERKS__ > 0x5300)
+
+#if !TARGET_API_MAC_CARBON
+// MetroNub stuff doesn't seem to work in CodeWarrior 5.3 Carbon builds...
#ifndef __MetroNubUtils__
#include "MetroNubUtils.h"
}
#endif
-#endif
+#endif // !TARGET_API_MAC_CARBON
+
+#endif // defined(__WXMAC__) && !defined(__DARWIN__) && (__MWERKS__ > 0x5300)
void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
{
Boolean running = false ;
+#if !TARGET_API_MAC_CARBON && (__MWERKS__ > 0x5300)
+
if ( IsMWDebuggerRunning() && AmIBeingMWDebugged() )
{
running = true ;
}
+#endif
+
if (running)
{
#ifdef __powerc