[Scummvm-cvs-logs] scummvm master -> 78baa27e0ef9abee006327323172a2a009690e44

vinterstum oystein at geheb.com
Wed Jan 18 02:18:29 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:
78baa27e0e MACOSX: Moved an include a bit to make sure that some defines are there before they are actually used.


Commit: 78baa27e0ef9abee006327323172a2a009690e44
    https://github.com/scummvm/scummvm/commit/78baa27e0ef9abee006327323172a2a009690e44
Author: Oystein Eftevaag (oystein at geheb.com)
Date: 2012-01-17T12:19:54-08:00

Commit Message:
MACOSX: Moved an include a bit to make sure that some defines are there before they are actually used.

Changed paths:
    backends/midi/coreaudio.cpp



diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp
index 6a4a9fa..43c8012 100644
--- a/backends/midi/coreaudio.cpp
+++ b/backends/midi/coreaudio.cpp
@@ -26,6 +26,7 @@
 
 #ifdef MACOSX
 
+#include <AvailabilityMacros.h>
 
 // With the release of Mac OS X 10.5 in October 2007, Apple deprecated the
 // AUGraphNewNode & AUGraphGetNodeInfo APIs in favor of the new AUGraphAddNode &
@@ -53,7 +54,6 @@
 #endif
 
 #if USE_DEPRECATED_COREAUDIO_API
-	#include <AvailabilityMacros.h>
 	// Try to silence warnings about use of deprecated APIs
 	#undef DEPRECATED_ATTRIBUTE
 	#define DEPRECATED_ATTRIBUTE






More information about the Scummvm-git-logs mailing list