comparison src/video/cocoa/SDL_cocoakeyboard.m @ 3286:d390778b59c1

Fixed build on Mac OS X 10.4
author Sam Lantinga <slouken@libsdl.org>
date Mon, 21 Sep 2009 05:24:54 +0000
parents 00cace2d9080
children 455a6c47d2c6
comparison
equal deleted inserted replaced
3285:0d7b20a4a629 3286:d390778b59c1
25 25
26 #include "../../events/SDL_keyboard_c.h" 26 #include "../../events/SDL_keyboard_c.h"
27 #include "../../events/scancodes_darwin.h" 27 #include "../../events/scancodes_darwin.h"
28 28
29 #include <Carbon/Carbon.h> 29 #include <Carbon/Carbon.h>
30
31 #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
32 #if __LP64__
33 typedef long NSInteger;
34 typedef unsigned long NSUInteger;
35 #else
36 typedef int NSInteger;
37 typedef unsigned int NSUInteger;
38 #endif
39 #endif
30 40
31 //#define DEBUG_IME NSLog 41 //#define DEBUG_IME NSLog
32 #define DEBUG_IME 42 #define DEBUG_IME
33 43
34 #ifndef NX_DEVICERCTLKEYMASK 44 #ifndef NX_DEVICERCTLKEYMASK