mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-06-04 10:57:40 +00:00
Fixed building with an older SDK and macOS target
This commit is contained in:
parent
268aa45645
commit
62e39b5fa7
3 changed files with 41 additions and 24 deletions
|
@ -69,7 +69,7 @@ static SDL_JoystickDriver *SDL_joystick_drivers[] = {
|
|||
#ifdef SDL_JOYSTICK_IOKIT
|
||||
&SDL_DARWIN_JoystickDriver,
|
||||
#endif
|
||||
#if (defined(__IPHONEOS__) || defined(__TVOS__)) && !defined(SDL_JOYSTICK_DISABLED)
|
||||
#if (defined(__MACOSX__) || defined(__IPHONEOS__) || defined(__TVOS__)) && !defined(SDL_JOYSTICK_DISABLED)
|
||||
&SDL_IOS_JoystickDriver,
|
||||
#endif
|
||||
#ifdef SDL_JOYSTICK_ANDROID
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue