]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/wx_cwc_d.h
compilation fixes (apparently, gcc <3.4 didn't validate code in templates that were...
[wxWidgets.git] / include / wx / wx_cwc_d.h
index b5649cd4a0e303b4e6f91974bd84f36d030922b7..d3e2e4d1502d92f9252c3615be0a8f7027f475a5 100644 (file)
 #ifndef _WX_CW__
 #define _WX_CW__
 
 #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 __option(profile)
 #error "profiling is not supported in debug versions"
 #else
 #ifdef __cplusplus
-       #if __POWERPC__
-               #include <wx_Carbon++_d.mch>
+       #ifdef __MACH__
+               #include "wx_Mach++_d.mch"
+       #elif __POWERPC__
+               #include "wx_Carbon++_d.mch"
        #endif
 #else
        #endif
 #else
-       #if __POWERPC__
-               #include <wx_Carbon_d.mch>
+       #ifdef __MACH__
+               #include "wx_Mach_d.mch"
+       #elif __POWERPC__
+               #include "wx_Carbon_d.mch"
        #endif
 #endif
 #endif
        #endif
 #endif
 #endif