]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cw_d.h
specific workaround for XCODE native
[wxWidgets.git] / include / wx / wx_cw_d.h
index f56d8cdc0ab5ab2c4352260a552fdad03b68071b..ef13968623f609fef2496b4af9ca51a56af270e2 100644 (file)
 #ifndef _WX_CW__
 #define _WX_CW__
 
+#if __MWERKS__ >= 0x2400 && __MWERKS__ < 0x3200
+#pragma old_argmatch on
+#endif
+
+#if __option(profile)
+#error "profiling is not supported in debug versions"
+#else
 #ifdef __cplusplus
        #if __POWERPC__
                #include <wx_PPC++_d.mch>
@@ -33,6 +40,7 @@
                #include <wx_68k_d.mch>
        #endif
 #endif
+#endif
 
 #endif
     // _WX_CW__