summaryrefslogtreecommitdiff
path: root/src/sound
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/sound
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/sound')
-rw-r--r--src/sound/cocoa_s.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/sound/cocoa_s.cpp b/src/sound/cocoa_s.cpp
index 890761ebc..27812d9e9 100644
--- a/src/sound/cocoa_s.cpp
+++ b/src/sound/cocoa_s.cpp
@@ -8,6 +8,9 @@
#ifdef WITH_COCOA
+#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3
+#include <AvailabilityMacros.h>
+
#include <AudioUnit/AudioUnit.h>
/* Name conflict */