[Scummvm-cvs-logs] scummvm master -> ba1396954d64306578f4459f2aa418b6055c1dd2

vinterstum oystein at geheb.com
Sat Jan 14 23:10:48 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
ba1396954d MACOSX: Changed CoreAudio deprecation check slightly to allow building with older SDKs


Commit: ba1396954d64306578f4459f2aa418b6055c1dd2
    https://github.com/scummvm/scummvm/commit/ba1396954d64306578f4459f2aa418b6055c1dd2
Author: Oystein Eftevaag (oystein at geheb.com)
Date: 2012-01-14T09:12:10-08:00

Commit Message:
MACOSX: Changed CoreAudio deprecation check slightly to allow building with older SDKs

Changed paths:
    backends/midi/coreaudio.cpp



diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp
index 0c251a2..6a4a9fa 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






More information about the Scummvm-git-logs mailing list