Mercurial > sdl-ios-xcode
diff 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 |
line wrap: on
line diff
--- a/src/joystick/darwin/SDL_sysjoystick.c Tue May 29 12:14:16 2007 +0000 +++ b/src/joystick/darwin/SDL_sysjoystick.c Thu May 31 14:46:01 2007 +0000 @@ -39,7 +39,11 @@ /* The header was moved here in Mac OS X 10.1 */ #include <Kernel/IOKit/hidsystem/IOHIDUsageTables.h> #endif +#if MAC_OS_X_VERSION_MIN_REQUIRED == 1030 +#include "10.3.9-FIX/IOHIDLib.h" +#else #include <IOKit/hid/IOHIDLib.h> +#endif #include <IOKit/hid/IOHIDKeys.h> #include <CoreFoundation/CoreFoundation.h> #include <Carbon/Carbon.h> /* for NewPtrClear, DisposePtr */