Fix warnings about extra tokens after #ifdef directive

This commit is contained in:
Michael Buckley 2019-06-30 17:09:26 -07:00
parent c9840055ff
commit 931ba0a601
1 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@
/*****************************************************/ /*****************************************************/
#if !TARGET_RT_MAC_CFM #if !TARGET_RT_MAC_CFM
#include <IOKit/hid/IOHIDLib.h> #include <IOKit/hid/IOHIDLib.h>
#endif TARGET_RT_MAC_CFM #endif // TARGET_RT_MAC_CFM
//#include <IOKit/hid/IOHIDUsageTables.h> //#include <IOKit/hid/IOHIDUsageTables.h>
#if 0 // NOTE: These are now in <IOKit/hid/IOHIDUsageTables.h> #if 0 // NOTE: These are now in <IOKit/hid/IOHIDUsageTables.h>
@ -109,7 +109,7 @@ typedef enum IOHIDReportType {
// Notes: This is a MachO function pointer. If you're using CFM you have to call MachOFunctionPointerForCFMFunctionPointer. // Notes: This is a MachO function pointer. If you're using CFM you have to call MachOFunctionPointerForCFMFunctionPointer.
typedef void( *IOHIDCallbackFunction ) ( void* target, unsigned long result, void* refcon, void* sender ); typedef void( *IOHIDCallbackFunction ) ( void* target, unsigned long result, void* refcon, void* sender );
typedef void* IOHIDEventStruct; typedef void* IOHIDEventStruct;
#endif TARGET_RT_MAC_CFM #endif // TARGET_RT_MAC_CFM
// Device and Element Interfaces // Device and Element Interfaces