]> git.saurik.com Git - wxWidgets.git/commitdiff
disable MetroNub stuff for CodeWarrior 5.3 Carbon builds
authorGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 10 Jan 2002 21:09:29 +0000 (21:09 +0000)
committerGilles Depeyrot <gilles_depeyrot@mac.com>
Thu, 10 Jan 2002 21:09:29 +0000 (21:09 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/log.cpp

index c9c4ab2776b8e87b8606a26cc2ef883493531c27..aef1e7f396d234c7bf408eaa18400c3b783fe786 100644 (file)
@@ -424,6 +424,9 @@ wxLogStderr::wxLogStderr(FILE *fp)
 
 #if defined(__WXMAC__) && !defined(__DARWIN__)
 
+#if !TARGET_API_MAC_CARBON || (__MSL_CPP__ > 0x5300)
+// MetroNub stuff doesn't seem to work in CodeWarrior 5.3 Carbon builds...
+
 #ifndef __MetroNubUtils__
 #include "MetroNubUtils.h"
 #endif
@@ -605,7 +608,9 @@ OSErr ClearWatchPoint (WatchPointIDT watchPointID)
        }
 #endif
 
-#endif
+#endif // !TARGET_API_MAC_CARBON || (__MSL_CPP__ > 0x5300)
+
+#endif // defined(__WXMAC__) && !defined(__DARWIN__)
 
 void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
 {
@@ -631,11 +636,15 @@ void wxLogStderr::DoLogString(const wxChar *szString, time_t WXUNUSED(t))
 
     Boolean running = false ;
 
+#if !TARGET_API_MAC_CARBON || (__MSL_CPP__ > 0x5300)
+
     if ( IsMWDebuggerRunning() && AmIBeingMWDebugged() )
     {
         running = true ;
     }
 
+#endif
+
     if (running)
     {
 #ifdef __powerc