summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authoregladil <egladil@openttd.org>2007-11-25 14:43:16 +0000
committeregladil <egladil@openttd.org>2007-11-25 14:43:16 +0000
commit35159d5db3b9e739f640d04616f0ee131e65c70b (patch)
tree8ee1ef0bc994c64d37a179e595db5424e0af4375 /src/music
parentb24392dfddb6710584927efba2ba6d4cc971aad6 (diff)
downloadopenttd-35159d5db3b9e739f640d04616f0ee131e65c70b.tar.xz
(svn r11521) -Codechange: [OSX] Check what the running os version is in a cleaner way.
Diffstat (limited to 'src/music')
-rw-r--r--src/music/qtmidi.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/music/qtmidi.cpp b/src/music/qtmidi.cpp
index 88a1b49dd..2e4892285 100644
--- a/src/music/qtmidi.cpp
+++ b/src/music/qtmidi.cpp
@@ -19,6 +19,9 @@
*/
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3
+#include <AvailabilityMacros.h>
+
/*
* OpenTTD includes.
*/