From cb4540a8772dc2909fbe17027d346eebcc8dfa09 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Wed, 30 Jul 2025 23:33:08 +0500 Subject: [PATCH] engine: platform: android: call SDL_OpenURL only if XASH_SDL was defined during build. Remove version check, as Android always builds with latest SDL version. --- engine/platform/android/android.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/platform/android/android.c b/engine/platform/android/android.c index 15c90264..a843c0e5 100644 --- a/engine/platform/android/android.c +++ b/engine/platform/android/android.c @@ -133,7 +133,7 @@ Android_ShellExecute */ void Platform_ShellExecute( const char *path, const char *parms ) { -#if SDL_VERSION_ATLEAST( 2, 0, 14 ) +#if XASH_SDL SDL_OpenURL( path ); -#endif +#endif // XASH_SDL }