X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d2ed20f7bbc531689ae3c22f02a8633bf1a9ebd..333e57d578e9e0fb6555452b5a53698ffd85ee69:/include/wx/wx_cwc.h?ds=sidebyside diff --git a/include/wx/wx_cwc.h b/include/wx/wx_cwc.h index 8fa963af54..0430251bd5 100644 --- a/include/wx/wx_cwc.h +++ b/include/wx/wx_cwc.h @@ -1,48 +1,48 @@ ///////////////////////////////////////////////////////////////////////////// // 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 +#if __MWERKS__ >= 0x2400 && __MWERKS__ < 0x3200 + #pragma old_argmatch on #endif #if __option(profile) #ifdef __cplusplus - #ifdef __MACH__ - #include - #elif __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach++_prof.mch" + #elif __POWERPC__ + #include "wx_Carbon++_prof.mch" + #endif #else - #ifdef __MACH__ - #include - #elif __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach_prof.mch" + #elif __POWERPC__ + #include "wx_Carbon_prof.mch" + #endif #endif #else #ifdef __cplusplus - #ifdef __MACH__ - #include - #elif __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach++.mch" + #elif __POWERPC__ + #include "wx_Carbon++.mch" + #endif #else - #ifdef __MACH__ - #include - #elif __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach.mch" + #elif __POWERPC__ + #include "wx_Carbon.mch" + #endif #endif #endif #endif