Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_SNDIO

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:43 +02:00
1 parent 0c161c1435
commit 8c3cb4fced
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
View File
@@ -21,7 +21,7 @@
#include "SDL_internal.h"
#if SDL_AUDIO_DRIVER_SNDIO
#ifdef SDL_AUDIO_DRIVER_SNDIO
/* OpenBSD sndio target */