mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 11:35:05 +08:00
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.
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user