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
commit1d5010edf96789140f65c0495495a24c53b5ba1b (patch)
tree8ee1ef0bc994c64d37a179e595db5424e0af4375 /src/music
parent9aaa455e5d27690587a1ce1c9641ea7718874e10 (diff)
downloadopenttd-1d5010edf96789140f65c0495495a24c53b5ba1b.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.
*/