aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOystein Eftevaag2012-01-14 12:12:10 -0500
committerOystein Eftevaag2012-01-14 12:12:10 -0500
commitba1396954d64306578f4459f2aa418b6055c1dd2 (patch)
tree5fd1cc9e542873b9dbf836a1c0bde5cff92ceb88
parent85c8bd6e655b42dfa84bc7c909a500917c48468a (diff)
downloadscummvm-rg350-ba1396954d64306578f4459f2aa418b6055c1dd2.tar.gz
scummvm-rg350-ba1396954d64306578f4459f2aa418b6055c1dd2.tar.bz2
scummvm-rg350-ba1396954d64306578f4459f2aa418b6055c1dd2.zip
MACOSX: Changed CoreAudio deprecation check slightly to allow building with older SDKs
-rw-r--r--backends/midi/coreaudio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp
index 0c251a2d8d..6a4a9fa909 100644
--- a/backends/midi/coreaudio.cpp
+++ b/backends/midi/coreaudio.cpp
@@ -45,7 +45,7 @@
// simply do so by manually enable the USE_DEPRECATED_COREAUDIO_API switch (e.g.
// by adding setting it suitably in CPPFLAGS).
#if !defined(USE_DEPRECATED_COREAUDIO_API)
- #if TARGET_CPU_PPC || TARGET_CPU_PPC64
+ #if TARGET_CPU_PPC || TARGET_CPU_PPC64 || !defined(MAC_OS_X_VERSION_10_6)
#define USE_DEPRECATED_COREAUDIO_API 1
#else
#define USE_DEPRECATED_COREAUDIO_API 0