Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_SNDIO
This commit is contained in:
1 parent
0c161c1435
commit
8c3cb4fced
2 files changed
+2
-2
No files matched your search
@@ -40,7 +40,7 @@ static const AudioBootStrap *const bootstrap[] = {
|
|||||||
#if SDL_AUDIO_DRIVER_ALSA
|
#if SDL_AUDIO_DRIVER_ALSA
|
||||||
&ALSA_bootstrap,
|
&ALSA_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_SNDIO
|
#ifdef SDL_AUDIO_DRIVER_SNDIO
|
||||||
&SNDIO_bootstrap,
|
&SNDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_NETBSD
|
#if SDL_AUDIO_DRIVER_NETBSD
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
|
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_AUDIO_DRIVER_SNDIO
|
#ifdef SDL_AUDIO_DRIVER_SNDIO
|
||||||
|
|
||||||
/* OpenBSD sndio target */
|
/* OpenBSD sndio target */
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user