summaryrefslogtreecommitdiff
path: root/src/os/macosx
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2008-08-01 17:43:11 +0000
committerbjarni <bjarni@openttd.org>2008-08-01 17:43:11 +0000
commit862ba192791c732a24652c3fcc68a539da435690 (patch)
tree485eca51d91c80c5f93f58c001c16bd8d4280328 /src/os/macosx
parentad36ea6b29f42d33e1600a131b0cbea615899272 (diff)
downloadopenttd-862ba192791c732a24652c3fcc68a539da435690.tar.xz
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
Diffstat (limited to 'src/os/macosx')
-rw-r--r--src/os/macosx/macos.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/os/macosx/macos.h b/src/os/macosx/macos.h
index 0dc11c233..1934d4cc9 100644
--- a/src/os/macosx/macos.h
+++ b/src/os/macosx/macos.h
@@ -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