X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/17dff81c7141e142765b168ab225e5c61475669f..01101e2da6f4493ce8cfcf4d9509163b9c264d58:/include/wx/wx_cw.h diff --git a/include/wx/wx_cw.h b/include/wx/wx_cw.h index c8bf670a26..2c902ecf5e 100644 --- a/include/wx/wx_cw.h +++ b/include/wx/wx_cw.h @@ -1,38 +1,65 @@ ///////////////////////////////////////////////////////////////////////////// // 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 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWindows licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #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 + #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 + #if __POWERPC__ + #include + #elif __INTEL__ + #include + #elif __CFM68K__ + #include + #else + #include + #endif +#endif +#else +#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 #endif - #endif // _WX_CW__