Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_COREAUDIO

This commit is contained in:
Anonymous Maarten
2023-03-27 15:10:54 +02:00
parent f5363d254d
commit bf965ad330
2 changed files with 2 additions and 2 deletions

View File

@@ -55,7 +55,7 @@ static const AudioBootStrap *const bootstrap[] = {
#ifdef SDL_AUDIO_DRIVER_HAIKU
&HAIKUAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_COREAUDIO
#ifdef SDL_AUDIO_DRIVER_COREAUDIO
&COREAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_AAUDIO

View File

@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_AUDIO_DRIVER_COREAUDIO
#ifdef SDL_AUDIO_DRIVER_COREAUDIO
/* !!! FIXME: clean out some of the macro salsa in here. */