mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-04-10 19:03:39 +02:00
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_NETBSD
This commit is contained in:
@@ -43,7 +43,7 @@ static const AudioBootStrap *const bootstrap[] = {
|
||||
#ifdef SDL_AUDIO_DRIVER_SNDIO
|
||||
&SNDIO_bootstrap,
|
||||
#endif
|
||||
#if SDL_AUDIO_DRIVER_NETBSD
|
||||
#ifdef SDL_AUDIO_DRIVER_NETBSD
|
||||
&NETBSDAUDIO_bootstrap,
|
||||
#endif
|
||||
#if SDL_AUDIO_DRIVER_WASAPI
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
/* 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 <sys/types.h>
|
||||
|
||||
@@ -20,7 +20,7 @@
|
||||
*/
|
||||
#include "SDL_internal.h"
|
||||
|
||||
#if SDL_AUDIO_DRIVER_NETBSD
|
||||
#if defined(SDL_AUDIO_DRIVER_NETBSD)
|
||||
|
||||
/*
|
||||
* Driver for native NetBSD audio(4).
|
||||
|
||||
Reference in New Issue
Block a user