Mercurial > sdl-ios-xcode
diff src/audio/macosx/SDL_coreaudio.c @ 3242:af4a5af3cd2b
Bye bye SoundManager, you are officially obsolete...
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sat, 05 Sep 2009 09:03:35 +0000 |
parents | 2929ed239d2a |
children | 023aa9699baa |
line wrap: on
line diff
--- a/src/audio/macosx/SDL_coreaudio.c Sat Sep 05 07:33:54 2009 +0000 +++ b/src/audio/macosx/SDL_coreaudio.c Sat Sep 05 09:03:35 2009 +0000 @@ -22,8 +22,9 @@ #include "SDL_config.h" #include <CoreAudio/CoreAudio.h> +#include <CoreServices/CoreServices.h> #include <AudioUnit/AudioUnit.h> -#ifdef AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER +#if MAC_OS_X_VERSION_MAX_ALLOWED == 1050 #include <AudioUnit/AUNTComponent.h> #endif