mirror of
https://github.com/yawut/SDL.git
synced 2026-08-27 03:07:10 -05:00
Fixed build on Mac OS X 10.4
This commit is contained in:
@@ -28,6 +28,16 @@
|
||||
|
||||
#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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user