Removed SDL_LOADSO_DISABLED

Loading shared libraries is core functionality on platforms that support it.
This commit is contained in:
Sam Lantinga
2024-01-16 21:32:35 -08:00
parent 0d7df16812
commit ba02722755
6 changed files with 13 additions and 35 deletions

View File

@@ -20,7 +20,7 @@
*/
#include "SDL_internal.h"
#if defined(SDL_LOADSO_DUMMY) || defined(SDL_LOADSO_DISABLED)
#if defined(SDL_LOADSO_DUMMY)
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/* System dependent library loading routines */
@@ -44,4 +44,4 @@ void SDL_UnloadObject(void *handle)
/* no-op. */
}
#endif /* SDL_LOADSO_DUMMY || SDL_LOADSO_DISABLED */
#endif /* SDL_LOADSO_DUMMY */

View File

@@ -24,10 +24,6 @@
#include "SDL_internal.h"
#ifdef SDL_VIDEO_VULKAN
#if defined(SDL_LOADSO_DISABLED) || defined(SDL_LOADSO_DUMMY)
#error You should not be here.
#endif
#ifdef SDL_VIDEO_DRIVER_ANDROID
#define VK_USE_PLATFORM_ANDROID_KHR
#endif