Fixed build on Mac OS X 10.4
--HG-- extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403837
This commit is contained in:
parent
0a027f75d0
commit
d4c2904707
1 changed files with 10 additions and 0 deletions
|
@ -28,6 +28,16 @@
|
||||||
|
|
||||||
#include <Carbon/Carbon.h>
|
#include <Carbon/Carbon.h>
|
||||||
|
|
||||||
|
#if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
|
||||||
|
#if __LP64__
|
||||||
|
typedef long NSInteger;
|
||||||
|
typedef unsigned long NSUInteger;
|
||||||
|
#else
|
||||||
|
typedef int NSInteger;
|
||||||
|
typedef unsigned int NSUInteger;
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
//#define DEBUG_IME NSLog
|
//#define DEBUG_IME NSLog
|
||||||
#define DEBUG_IME
|
#define DEBUG_IME
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue