Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_JACK

This commit is contained in:
Anonymous Maarten
2023-03-27 19:25:17 +02:00
parent b716db204d
commit 99095a89f1
2 changed files with 2 additions and 2 deletions

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

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"