X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..2e9760c0ee8b20ea5c85e7cacd016e84957fcebe:/include/wx/wx_cw.h?ds=inline diff --git a/include/wx/wx_cw.h b/include/wx/wx_cw.h index c8bf670a26..7b1e20dc9e 100644 --- a/include/wx/wx_cw.h +++ b/include/wx/wx_cw.h @@ -12,6 +12,33 @@ #ifndef _WX_CW__ #define _WX_CW__ +#if __MWERKS__ >= 0x2400 +#pragma old_argmatch on +#endif + +#if __option(profile) +#ifdef __cplusplus + #if __POWERPC__ + #include + #elif __INTEL__ + #include + #elif __CFM68K__ + #include + #else + #include + #endif +#else + #if __POWERPC__ + #include + #elif __INTEL__ + #include + #elif __CFM68K__ + #include + #else + #include + #endif +#endif +#else #ifdef __cplusplus #if __POWERPC__ #include @@ -33,6 +60,6 @@ #include #endif #endif - +#endif #endif // _WX_CW__