Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_JACK

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:44 +02:00
1 parent b716db204d
commit 99095a89f1
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ static const AudioBootStrap *const bootstrap[] = {
#ifdef SDL_AUDIO_DRIVER_EMSCRIPTEN
&EMSCRIPTENAUDIO_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_JACK
#ifdef SDL_AUDIO_DRIVER_JACK
&JACK_bootstrap,
#endif
#if SDL_AUDIO_DRIVER_PIPEWIRE
+1 -1
View File
@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if SDL_AUDIO_DRIVER_JACK
#ifdef SDL_AUDIO_DRIVER_JACK
#include "../SDL_audio_c.h"
#include "SDL_jackaudio.h"