#ifndef _WX_CW__
#define _WX_CW__
-#if __MWERKS__ >= 0x2400
+#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200
#pragma old_argmatch on
#endif
#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
- #if __POWERPC__
- #include <wx_Carbon_d.mch>
+ #ifdef __MACH__
+ #include "wx_Mach_d.mch"
+ #elif __POWERPC__
+ #include "wx_Carbon_d.mch"
#endif
#endif
#endif