mirror of
https://github.com/yawut/SDL.git
synced 2026-08-08 11:45:56 -05:00
Fixed compile error on Mac OS X 10.4
This commit is contained in:
parent
c9cdb827a2
commit
05b3cdda94
|
|
@ -28,16 +28,6 @@
|
|||
|
||||
#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
|
||||
|
||||
|
|
|
|||
|
|
@ -39,6 +39,16 @@
|
|||
#include "SDL_cocoaopengl.h"
|
||||
#include "SDL_cocoawindow.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
|
||||
|
||||
/* Private display data */
|
||||
|
||||
@class SDLTranslatorResponder;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user