Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_NETBSD
This commit is contained in:
1 parent
8c3cb4fced
commit
3a5cdf4fdb
3 files changed
+3
-3
No files matched your search
@@ -43,7 +43,7 @@ static const AudioBootStrap *const bootstrap[] = {
|
|||||||
#ifdef SDL_AUDIO_DRIVER_SNDIO
|
#ifdef SDL_AUDIO_DRIVER_SNDIO
|
||||||
&SNDIO_bootstrap,
|
&SNDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_NETBSD
|
#ifdef SDL_AUDIO_DRIVER_NETBSD
|
||||||
&NETBSDAUDIO_bootstrap,
|
&NETBSDAUDIO_bootstrap,
|
||||||
#endif
|
#endif
|
||||||
#if SDL_AUDIO_DRIVER_WASAPI
|
#if SDL_AUDIO_DRIVER_WASAPI
|
||||||
|
|||||||
@@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
/* Get the name of the audio device we use for output */
|
/* Get the name of the audio device we use for output */
|
||||||
|
|
||||||
#if SDL_AUDIO_DRIVER_NETBSD || SDL_AUDIO_DRIVER_OSS || SDL_AUDIO_DRIVER_SUNAUDIO
|
#if defined(SDL_AUDIO_DRIVER_NETBSD) || SDL_AUDIO_DRIVER_OSS || SDL_AUDIO_DRIVER_SUNAUDIO
|
||||||
|
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
|
|||||||
@@ -20,7 +20,7 @@
|
|||||||
*/
|
*/
|
||||||
#include "SDL_internal.h"
|
#include "SDL_internal.h"
|
||||||
|
|
||||||
#if SDL_AUDIO_DRIVER_NETBSD
|
#if defined(SDL_AUDIO_DRIVER_NETBSD)
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Driver for native NetBSD audio(4).
|
* Driver for native NetBSD audio(4).
|
||||||
|
|||||||
Reference in new issue
Block a user