From 20bbcf47f9359edf718e53d973f3519742b54117 Mon Sep 17 00:00:00 2001 From: Arnav Bhatt Date: Fri, 27 Sep 2024 01:11:32 +0530 Subject: [PATCH] [SDL2] trivial fix --- contrib/sdk/sources/SDL2-2.30.7/include/SDL_config_kolibri.h | 2 +- contrib/sdk/sources/SDL2-2.30.7/src/audio/SDL_sysaudio.h | 1 + contrib/sdk/sources/SDL2-2.30.7/src/dynapi/SDL_dynapi.h | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/contrib/sdk/sources/SDL2-2.30.7/include/SDL_config_kolibri.h b/contrib/sdk/sources/SDL2-2.30.7/include/SDL_config_kolibri.h index bf82dbbcba..334797d281 100644 --- a/contrib/sdk/sources/SDL2-2.30.7/include/SDL_config_kolibri.h +++ b/contrib/sdk/sources/SDL2-2.30.7/include/SDL_config_kolibri.h @@ -119,4 +119,4 @@ /* Enable the Kolibri filesystem driver (src/filesystem/kolibri/\*.c) */ #define SDL_FILESYSTEM_KOLIBRI 1 -#endif /* SDL_config_minimal_h_ */ +#endif /* SDL_config_kolibri_h_ */ diff --git a/contrib/sdk/sources/SDL2-2.30.7/src/audio/SDL_sysaudio.h b/contrib/sdk/sources/SDL2-2.30.7/src/audio/SDL_sysaudio.h index d569ba76a8..2e6321463d 100644 --- a/contrib/sdk/sources/SDL2-2.30.7/src/audio/SDL_sysaudio.h +++ b/contrib/sdk/sources/SDL2-2.30.7/src/audio/SDL_sysaudio.h @@ -209,6 +209,7 @@ extern AudioBootStrap VITAAUD_bootstrap; extern AudioBootStrap N3DSAUDIO_bootstrap; extern AudioBootStrap EMSCRIPTENAUDIO_bootstrap; extern AudioBootStrap OS2AUDIO_bootstrap; +extern AudioBootStrap KOLIBRIAUDIO_bootstrap; #endif /* SDL_sysaudio_h_ */ diff --git a/contrib/sdk/sources/SDL2-2.30.7/src/dynapi/SDL_dynapi.h b/contrib/sdk/sources/SDL2-2.30.7/src/dynapi/SDL_dynapi.h index 95b20aaefa..49dd939dd2 100644 --- a/contrib/sdk/sources/SDL2-2.30.7/src/dynapi/SDL_dynapi.h +++ b/contrib/sdk/sources/SDL2-2.30.7/src/dynapi/SDL_dynapi.h @@ -69,6 +69,8 @@ #define SDL_DYNAMIC_API 0 /* devkitARM doesn't support dynamic linking */ #elif defined(DYNAPI_NEEDS_DLOPEN) && !defined(HAVE_DLOPEN) #define SDL_DYNAMIC_API 0 /* we need dlopen(), but don't have it.... */ +#elif defined(__KOLIBRI__) +#define SDL_DYNAMIC_API 0 #endif /* everyone else. This is where we turn on the API if nothing forced it off. */