diff options
author | Oystein Eftevaag | 2012-01-17 15:19:54 -0500 |
---|---|---|
committer | Oystein Eftevaag | 2012-01-17 15:19:54 -0500 |
commit | 78baa27e0ef9abee006327323172a2a009690e44 (patch) | |
tree | c08b6985b7165a1c1a8855835cb6e98cddd6a8e3 | |
parent | 29a063cb12e5400079bbe14a2610c093c35d7e5e (diff) | |
download | scummvm-rg350-78baa27e0ef9abee006327323172a2a009690e44.tar.gz scummvm-rg350-78baa27e0ef9abee006327323172a2a009690e44.tar.bz2 scummvm-rg350-78baa27e0ef9abee006327323172a2a009690e44.zip |
MACOSX: Moved an include a bit to make sure that some defines are there before they are actually used.
-rw-r--r-- | backends/midi/coreaudio.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/midi/coreaudio.cpp b/backends/midi/coreaudio.cpp index 6a4a9fa909..43c801287d 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 |