X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/03e11df5470fd64d9d9a669d0b50b84c2d714736..bb356c9ea78919fbc01e19c36bb925c80abb68a4:/include/wx/wx_cw_cm.h diff --git a/include/wx/wx_cw_cm.h b/include/wx/wx_cw_cm.h index b9871724b9..6221f0e57b 100644 --- a/include/wx/wx_cw_cm.h +++ b/include/wx/wx_cw_cm.h @@ -13,21 +13,6 @@ #if (__MWERKS__ < 0x0900) || macintosh #define __MAC__ #define __WXMAC__ - #if TARGET_CARBON - #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/ - #include "MacHeaders.c" - /* - #define USE_PRECOMPILED_MAC_HEADERS 0 - #ifdef __cplusplus - #include - #else - #include - #endif - */ - #else - #define USE_PRECOMPILED_MAC_HEADERS 1 /*Set to 0 if you don't want to use precompiled MacHeaders*/ - #endif -// automatically includes MacHeaders #elif (__MWERKS__ >= 0x0900) && __INTEL__ #define __WXMSW__ #define __WINDOWS__ @@ -52,7 +37,12 @@ #endif #endif #elif defined( __WXMAC__) + #define USE_PRECOMPILED_MAC_HEADERS 0 /*Set to 0 if you don't want to use precompiled MacHeaders*/ + #include "MacHeaders.c" #include + #if UNIVERSAL_INTERFACES_VERSION < 0x0340 + #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/" + #endif #endif #define USE_DEFINE