From 50be193deb5678153c398621097e6f12b00daa15 Mon Sep 17 00:00:00 2001 From: Nicolas Cellier Date: Fri, 18 Nov 2016 01:07:03 +0100 Subject: [PATCH] Fix yet another extra token after #endif --- .../Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.c b/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.c index 280186f93f..60a9a62ba1 100755 --- a/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.c +++ b/platforms/Mac OS/plugins/JoystickTabletPlugin/HID_Utilities.c @@ -65,7 +65,7 @@ static pRecDevice hid_DisposeDevice (pRecDevice ppDevice); static IONotificationPortRef gNotifyPort; static io_iterator_t gAddedIter; static CFRunLoopRef gRunLoop; -#endif USE_NOTIFICATIONS +#endif //USE_NOTIFICATIONS // for element retrieval static pRecDevice gCurrentGetDevice = NULL; @@ -276,7 +276,7 @@ static void hid_AddElement (CFTypeRef refElement, pRecElement * ppElementCurrent #if 0 else HIDReportError ("CFNumberGetValue error when getting value for refUsage or refUsagePage."); -#endif 0 +#endif //0 } else // collection pElement = (pRecElement) malloc (sizeof (recElement)); @@ -732,7 +732,7 @@ static void hid_AddDevices (void *refCon, io_iterator_t iterator) HIDReportErrorNum ("hid_AddDevices: IOServiceAddInterestNotification error: x0%8.8lX.", result); #else result = (*(IOHIDDeviceInterface**)pNewDevice->interface)->setRemovalCallback (pNewDevice->interface, hid_RemovalCallbackFunction,pNewDeviceAt,0); -#endif USE_NOTIFICATIONS +#endif //USE_NOTIFICATIONS // release the device object, it is no longer needed result = IOObjectRelease (ioHIDDeviceObject); @@ -799,7 +799,7 @@ static pRecDevice hid_DisposeDevice (pRecDevice pDevice) if (kIOReturnSuccess != result) HIDReportErrorNum ("hid_DisposeDevice: IOObjectRelease error: 0x%8.8X.", result); } -#endif USE_NOTIFICATIONS +#endif //USE_NOTIFICATIONS // remove this device from the device list if (gpDeviceList == pDevice) // head of list?