Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_HAIKU
This commit is contained in:
1 parent
e0f66bcbf5
commit
f5363d254d
2 files changed
+2
-2
No files matched your search
@@ -52,7 +52,7 @@ static const AudioBootStrap *const bootstrap[] = {
|
|||||||
#ifdef SDL_AUDIO_DRIVER_DSOUND
|
#ifdef SDL_AUDIO_DRIVER_DSOUND
|
||||||
&DSOUND_bootstrap,
|
&DSOUND_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_HAIKU
|
#ifdef SDL_AUDIO_DRIVER_HAIKU
|
||||||
&HAIKUAUDIO_bootstrap,
|
&HAIKUAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_COREAUDIO
|
#if SDL_AUDIO_DRIVER_COREAUDIO
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_AUDIO_DRIVER_HAIKU
|
#ifdef SDL_AUDIO_DRIVER_HAIKU
|
||||||
|
|
||||||
/* Allow access to the audio stream on Haiku */
|
/* Allow access to the audio stream on Haiku */
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user