src/video/cocoa/SDL_cocoavideo.h
changeset 3676 1ab77e93a6c9
parent 3280 00cace2d9080
child 3697 f7b03b6838cb
--- a/src/video/cocoa/SDL_cocoavideo.h	Mon Jan 18 06:34:04 2010 +0000
+++ b/src/video/cocoa/SDL_cocoavideo.h	Mon Jan 18 14:12:29 2010 +0000
@@ -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;