X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d015713e787da8241e92ff86ee2e911868b8024c..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/wx_cwc_d.h diff --git a/include/wx/wx_cwc_d.h b/include/wx/wx_cwc_d.h index 46a17bc2dc..5ee83883c9 100644 --- a/include/wx/wx_cwc_d.h +++ b/include/wx/wx_cwc_d.h @@ -1,18 +1,18 @@ ///////////////////////////////////////////////////////////////////////////// // Name: wx_cw_d.h -// Purpose: wxWindows definitions for CodeWarrior builds (Debug) +// Purpose: wxWidgets definitions for CodeWarrior builds (Debug) // 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 +#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200 #pragma old_argmatch on #endif @@ -20,13 +20,17 @@ #error "profiling is not supported in debug versions" #else #ifdef __cplusplus - #if __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach++_d.mch" + #elif __POWERPC__ + #include "wx_Carbon++_d.mch" + #endif #else - #if __POWERPC__ - #include - #endif + #ifdef __MACH__ + #include "wx_Mach_d.mch" + #elif __POWERPC__ + #include "wx_Carbon_d.mch" + #endif #endif #endif