comparison src/video/cocoa/SDL_cocoavideo.h @ 3676:1ab77e93a6c9

Fixed compile error on Mac OS X 10.4
author Sam Lantinga <slouken@libsdl.org>
date Mon, 18 Jan 2010 14:12:29 +0000
parents 00cace2d9080
children f7b03b6838cb
comparison
equal deleted inserted replaced
3675:e86edac50872 3676:1ab77e93a6c9
37 #include "SDL_cocoamodes.h" 37 #include "SDL_cocoamodes.h"
38 #include "SDL_cocoamouse.h" 38 #include "SDL_cocoamouse.h"
39 #include "SDL_cocoaopengl.h" 39 #include "SDL_cocoaopengl.h"
40 #include "SDL_cocoawindow.h" 40 #include "SDL_cocoawindow.h"
41 41
42 #if MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_4
43 #if __LP64__
44 typedef long NSInteger;
45 typedef unsigned long NSUInteger;
46 #else
47 typedef int NSInteger;
48 typedef unsigned int NSUInteger;
49 #endif
50 #endif
51
42 /* Private display data */ 52 /* Private display data */
43 53
44 @class SDLTranslatorResponder; 54 @class SDLTranslatorResponder;
45 55
46 typedef struct SDL_VideoData 56 typedef struct SDL_VideoData