X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d2ed20f7bbc531689ae3c22f02a8633bf1a9ebd..1c2d1459e9e4a652118ca666e27757b3193e0e3b:/include/wx/wx_cw_cm.h diff --git a/include/wx/wx_cw_cm.h b/include/wx/wx_cw_cm.h index 21aa30cbab..127bbbc0f1 100644 --- a/include/wx/wx_cw_cm.h +++ b/include/wx/wx_cw_cm.h @@ -6,7 +6,7 @@ #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 +57,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