]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
a better compilation fix
[wxWidgets.git] / include / wx / platform.h
index 2f5e5318fae835defaa50d139ace9486c8a74991..71790c352dddbbc6c2dde920434ae8e19b3fe411 100644 (file)
 #        define __WXMAC_OSX__
 #        define __WXMAC_CARBON__
 #        include <AvailabilityMacros.h>
+#        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 <unistd.h>
 #            include "wx/mac/carbon/config_xcode.h"