Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_SNDIO

This commit is contained in:
Anonymous Maarten
2023-03-27 15:08:42 +02:00
parent 0c161c1435
commit 8c3cb4fced
2 changed files with 2 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ static const AudioBootStrap *const bootstrap[] = {
#if SDL_AUDIO_DRIVER_ALSA
&ALSA_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_SNDIO
#ifdef SDL_AUDIO_DRIVER_SNDIO
&SNDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_NETBSD

View File

@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_AUDIO_DRIVER_SNDIO
#ifdef SDL_AUDIO_DRIVER_SNDIO
/* OpenBSD sndio target */