X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d015713e787da8241e92ff86ee2e911868b8024c..9513c5b609740c15322f2284e5e8b9609eeaa069:/include/wx/wx_cwc_d.h?ds=sidebyside diff --git a/include/wx/wx_cwc_d.h b/include/wx/wx_cwc_d.h index 46a17bc2dc..47bdc7a039 100644 --- a/include/wx/wx_cwc_d.h +++ b/include/wx/wx_cwc_d.h @@ -12,7 +12,7 @@ #ifndef _WX_CW__ #define _WX_CW__ -#if __MWERKS__ >= 0x2400 +#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200 #pragma old_argmatch on #endif @@ -20,11 +20,15 @@ #error "profiling is not supported in debug versions" #else #ifdef __cplusplus - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #else - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #endif