Commit 8b1ff7b1 authored by Sam Lantinga's avatar Sam Lantinga

Fixed compile error on Mac OS X 10.4

--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%404429
parent 0fea52ed
...@@ -28,16 +28,6 @@ ...@@ -28,16 +28,6 @@
#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
......
...@@ -39,6 +39,16 @@ ...@@ -39,6 +39,16 @@
#include "SDL_cocoaopengl.h" #include "SDL_cocoaopengl.h"
#include "SDL_cocoawindow.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 */ /* Private display data */
@class SDLTranslatorResponder; @class SDLTranslatorResponder;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment