X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cdac585c3bb7f5cad3ff095578212a9371fec7f6..0441868f0826077c1412a9828e5f3e67f32c425d:/include/wx/platform.h diff --git a/include/wx/platform.h b/include/wx/platform.h index 2f5e5318fa..faeaf6fd20 100644 --- a/include/wx/platform.h +++ b/include/wx/platform.h @@ -34,6 +34,12 @@ # define __WXMAC_OSX__ # define __WXMAC_CARBON__ # include +# ifndef MAC_OS_X_VERSION_10_4 +# define MAC_OS_X_VERSION_10_4 1040 +# endif +# ifndef MAC_OS_X_VERSION_10_5 +# define MAC_OS_X_VERSION_10_5 1050 +# endif # ifdef __WXMAC_XCODE__ # include # include "wx/mac/carbon/config_xcode.h" @@ -529,6 +535,10 @@ #define wxCHECK_GCC_VERSION( major, minor ) 0 #endif +#if defined(__BORLANDC__) || (defined(__GNUC__) && __GNUC__ < 3) +#define wxNEEDS_CHARPP +#endif + /* This macro can be used to check that the version of mingw32 compiler is at least maj.min