X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d2ed20f7bbc531689ae3c22f02a8633bf1a9ebd..f29fe16932ede752589ef9ed34a757342387932f:/include/wx/wx_cw_cm.h diff --git a/include/wx/wx_cw_cm.h b/include/wx/wx_cw_cm.h index 21aa30cbab..7498097e0b 100644 --- a/include/wx/wx_cw_cm.h +++ b/include/wx/wx_cw_cm.h @@ -1,12 +1,16 @@ #define MSL_USE_PRECOMPILED_HEADERS 0 - +#if __WXDEBUG__ + // mac os assert levels + #define DEBUG 1 + #define DEBUG_INTERNAL 1 +#endif #if !defined( __MWERKS__ ) #error "this file is only for builds with Metrowerks CodeWarrior" #endif #define WX_COMP_INLINE_NO_CLASS // defined if the compiler does not want the classname repeated for inlines within a class definition -#if __MWERKS__ >= 0x2400 +#if __MWERKS__ >= 0x2400 && __MWERKS__ <= 0x3200 #pragma old_argmatch on #endif @@ -57,12 +61,14 @@ #else #include #endif - /* - #include - #if UNIVERSAL_INTERFACES_VERSION < 0x0340 - #error "please update to Apple's lastest universal headers from http://developer.apple.com/sdk/" - #endif - */ + // for getting the correct expat includes + #define MACOS_CLASSIC + /* + #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