comparison src/video/cocoa/SDL_cocoakeyboard.m @ 3676:1ab77e93a6c9

Fixed compile error on Mac OS X 10.4
author Sam Lantinga <slouken@libsdl.org>
date Mon, 18 Jan 2010 14:12:29 +0000
parents 455a6c47d2c6
children 4c5ab6841fdc
comparison
equal deleted inserted replaced
3675:e86edac50872 3676:1ab77e93a6c9
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
40 30
41 //#define DEBUG_IME NSLog 31 //#define DEBUG_IME NSLog
42 #define DEBUG_IME 32 #define DEBUG_IME
43 33
44 #ifndef NX_DEVICERCTLKEYMASK 34 #ifndef NX_DEVICERCTLKEYMASK