X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d015713e787da8241e92ff86ee2e911868b8024c..79dbea214678efdf41577c758f49c3275a980733:/include/wx/wx_cwc.h diff --git a/include/wx/wx_cwc.h b/include/wx/wx_cwc.h index ea8911edf0..44e3cb65e3 100644 --- a/include/wx/wx_cwc.h +++ b/include/wx/wx_cwc.h @@ -1,6 +1,6 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx_cw.h -// Purpose: wxWindows definitions for CodeWarrior builds +// Purpose: wxWidgets definitions for CodeWarrior builds // Author: Stefan Csomor // Modified by: // Created: 12/10/98 @@ -12,27 +12,35 @@ #ifndef _WX_CW__ #define _WX_CW__ -#if __MWERKS__ >= 0x2400 +#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200 #pragma old_argmatch on #endif #if __option(profile) #ifdef __cplusplus - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #else - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #endif #else #ifdef __cplusplus - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #else - #if __POWERPC__ + #ifdef __MACH__ + #include + #elif __POWERPC__ #include #endif #endif