mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-09-19 17:58:13 +00:00
Don't include the iOS joystick driver if joysticks are disabled
This commit is contained in:
@@ -70,7 +70,7 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
|
||||
#ifdef SDL_JOYSTICK_IOKIT
|
||||
&SDL_DARWIN_JoystickDriver,
|
||||
#endif
|
||||
#if defined(__IPHONEOS__) || defined(__TVOS__)
|
||||
#if (defined(__IPHONEOS__) || defined(__TVOS__)) && !defined(SDL_JOYSTICK_DISABLED)
|
||||
&SDL_IOS_JoystickDriver,
|
||||
#endif
|
||||
#ifdef SDL_JOYSTICK_ANDROID
|
||||
|
Reference in New Issue
Block a user