Use #ifdef/#ifndef instead of #if defined/#if \!defined

This commit is contained in:
Anonymous Maarten authored and Anonymous Maarten committed 2023-03-30 21:35:01 +00:00
1 parent 308bcbbe76
commit b6ae281e97
129 files changed
+450 -450

No files matched your search

+1 -1
View File
@@ -556,7 +556,7 @@ struct hid_device_info HID_API_EXPORT *hid_enumerate(unsigned short vendor_id,
}
#if 0 // Prefer direct HID support as that has extended functionality
#if defined(SDL_JOYSTICK_MFI)
#ifdef SDL_JOYSTICK_MFI
// We want to prefer Game Controller support where available,
// as Apple will likely be requiring that for supported devices.
extern SDL_bool IOS_SupportedHIDDevice(IOHIDDeviceRef device);