mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-12 17:35:38 +00:00
Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_NETBSD
This commit is contained in:
parent
8c3cb4fced
commit
3a5cdf4fdb
3 changed files with 3 additions and 3 deletions
|
|
@ -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).
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue