Fixed compiling on tvOS
This commit is contained in:
parent
9ec2cf5629
commit
6a7f29cdbb
2 changed files with 16 additions and 13 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue