summaryrefslogtreecommitdiff
path: root/src/music
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-03 15:46:36 +0000
committerrubidium <rubidium@openttd.org>2009-05-03 15:46:36 +0000
commit5f4eeee5f01e07393ab603d6baa705486d126913 (patch)
tree78bc2a570d26ee48f3034ba40a99c1c92f5a438b /src/music
parentd685ca0619cdbaf61623b673d26a2c9aa8b5b85e (diff)
downloadopenttd-5f4eeee5f01e07393ab603d6baa705486d126913.tar.xz
(svn r16221) -Change: support building 64 bits OSX binaries and add optional support for 64 bits binaries in OSX universal binaries. However, do not default to adding 64 bits binaries because benchmarking has shown that they are slower than the 32 bits binaries.
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 bb4ef91d2..dce3e1033 100644
--- a/src/music/qtmidi.cpp
+++ b/src/music/qtmidi.cpp
@@ -19,6 +19,8 @@
*/
+#ifndef NO_QUICKTIME
+
#define MAC_OS_X_VERSION_MIN_REQUIRED MAC_OS_X_VERSION_10_3
#include <AvailabilityMacros.h>
@@ -347,3 +349,4 @@ void MusicDriver_QtMidi::SetVolume(byte vol)
}
}
+#endif /* NO_QUICKTIME */