diff options
author | bjarni <bjarni@openttd.org> | 2008-08-01 17:43:11 +0000 |
---|---|---|
committer | bjarni <bjarni@openttd.org> | 2008-08-01 17:43:11 +0000 |
commit | 2eb3b4e3ae750dec036f8fbe3b1943b4c5a360fe (patch) | |
tree | 485eca51d91c80c5f93f58c001c16bd8d4280328 | |
parent | 2b6978e48e0f043309e8b096dd66fad50f212d53 (diff) | |
download | openttd-2eb3b4e3ae750dec036f8fbe3b1943b4c5a360fe.tar.xz |
(svn r13913) -Fix (r13893): [OSX] fixed a warning about MAC_OS_X_VERSION_10_5 not being defined on all systems
-rw-r--r-- | src/os/macosx/macos.h | 14 |
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 |