comparison src/joystick/darwin/SDL_sysjoystick.c @ 2110:21942f552734

Fixed build issues on Mac OS X
author Sam Lantinga <slouken@libsdl.org>
date Thu, 31 May 2007 14:46:01 +0000
parents 51cbe188a49e
children 2c835d58faad
comparison
equal deleted inserted replaced
2109:51cbe188a49e 2110:21942f552734
37 #include <IOKit/hidsystem/IOHIDUsageTables.h> 37 #include <IOKit/hidsystem/IOHIDUsageTables.h>
38 #else 38 #else
39 /* The header was moved here in Mac OS X 10.1 */ 39 /* The header was moved here in Mac OS X 10.1 */
40 #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h> 40 #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
41 #endif 41 #endif
42 #if MAC_OS_X_VERSION_MIN_REQUIRED == 1030
43 #include "10.3.9-FIX/IOHIDLib.h"
44 #else
42 #include <IOKit/hid/IOHIDLib.h> 45 #include <IOKit/hid/IOHIDLib.h>
46 #endif
43 #include <IOKit/hid/IOHIDKeys.h> 47 #include <IOKit/hid/IOHIDKeys.h>
44 #include <CoreFoundation/CoreFoundation.h> 48 #include <CoreFoundation/CoreFoundation.h>
45 #include <Carbon/Carbon.h> /* for NewPtrClear, DisposePtr */ 49 #include <Carbon/Carbon.h> /* for NewPtrClear, DisposePtr */
46 50
47 #include "SDL_joystick.h" 51 #include "SDL_joystick.h"