Fix -Wundef warnings due to use of unguarded SDL_AUDIO_DRIVER_VITA

This commit is contained in:
Anonymous Maarten committed 2023-03-28 19:29:43 +02:00
1 parent 14b77e36f9
commit aecf22449a
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -73,7 +73,7 @@ static const AudioBootStrap *const bootstrap[] = {
#ifdef SDL_AUDIO_DRIVER_PSP #ifdef SDL_AUDIO_DRIVER_PSP
&PSPAUDIO_bootstrap, &PSPAUDIO_bootstrap,
#endif #endif
#if SDL_AUDIO_DRIVER_VITA #ifdef SDL_AUDIO_DRIVER_VITA
&VITAAUD_bootstrap, &VITAAUD_bootstrap,
#endif #endif
#if SDL_AUDIO_DRIVER_N3DS #if SDL_AUDIO_DRIVER_N3DS
+1 -1
View File
@@ -20,7 +20,7 @@
*/ */
#include "SDL_internal.h" #include "SDL_internal.h"
#if SDL_AUDIO_DRIVER_VITA #ifdef SDL_AUDIO_DRIVER_VITA
#include <stdio.h> #include <stdio.h>
#include <string.h> #include <string.h>