comparison src/joystick/darwin/SDL_sysjoystick.c @ 4104:e3945f84427f SDL-1.2

Fixed fatbuild.sh script for building on Mac OS X 10.5 The minimum PPC SDK is 10.3.9
author Sam Lantinga <slouken@libsdl.org>
date Fri, 28 Dec 2007 20:39:31 +0000
parents 14bec334705f
children d07c60f5e460
comparison
equal deleted inserted replaced
4103:9df8136abec0 4104:e3945f84427f
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"