mirror of
https://github.com/libsdl-org/SDL.git
synced 2025-10-07 18:36:26 +00:00
Fixed compiling on tvOS
This commit is contained in:
@@ -528,7 +528,7 @@ JoystickAlreadyKnown(IOHIDDeviceRef ioHIDDeviceObject)
|
||||
{
|
||||
recDevice *i;
|
||||
|
||||
#if defined(SDL_JOYSTICK_MFI) && !TARGET_OS_IOS
|
||||
#if defined(SDL_JOYSTICK_MFI)
|
||||
extern SDL_bool IOS_SupportedHIDDevice(IOHIDDeviceRef device);
|
||||
if (IOS_SupportedHIDDevice(ioHIDDeviceObject)) {
|
||||
return SDL_TRUE;
|
||||
|
Reference in New Issue
Block a user