(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
authorbjarni
Fri, 01 Aug 2008 17:43:11 +0000
changeset 9776 056e0e5c964a
parent 9775 22e256c3bf46
child 9777 5c14eb4bb2bc
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
src/os/macosx/macos.h
--- a/src/os/macosx/macos.h	Fri Aug 01 15:07:31 2008 +0000
+++ b/src/os/macosx/macos.h	Fri Aug 01 17:43:11 2008 +0000
@@ -5,6 +5,20 @@
 #ifndef MACOS_H
 #define MACOS_H
 
+/* It would seem that to ensure backward compability we have to ensure that we have defined MAC_OS_X_VERSION_10_x everywhere */
+#ifndef MAC_OS_X_VERSION_10_3
+#define MAC_OS_X_VERSION_10_3 1030
+#endif
+
+#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
+
+
 /*
  * Functions to show the popup window
  * use ShowMacDialog when you want to control title, message and text on the button