Removed usage of TARGET_OS_OSX for building with older SDKs

This commit is contained in:
Sam Lantinga 2020-11-24 07:56:59 -08:00
parent a7d91ebaa5
commit e4b7d9a221
2 changed files with 3 additions and 5 deletions

View file

@ -528,7 +528,7 @@ JoystickAlreadyKnown(IOHIDDeviceRef ioHIDDeviceObject)
{
recDevice *i;
#if TARGET_OS_OSX
#if defined(SDL_JOYSTICK_MFI) && !TARGET_OS_IOS
extern SDL_bool IOS_SupportedHIDDevice(IOHIDDeviceRef device);
if (IOS_SupportedHIDDevice(ioHIDDeviceObject)) {
return SDL_TRUE;