X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d015713e787da8241e92ff86ee2e911868b8024c..c640e407d5a2ff901421a080bfc5a8af19297abb:/include/wx/wx_cw_cm.h diff --git a/include/wx/wx_cw_cm.h b/include/wx/wx_cw_cm.h index a565d4a3f6..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