Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Fixed build on Mac OS X 10.4
Browse files Browse the repository at this point in the history
  • Loading branch information
slouken committed Sep 21, 2009
1 parent a4991ec commit 24ba42b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/video/cocoa/SDL_cocoakeyboard.m
Expand Up @@ -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

Expand Down

0 comments on commit 24ba42b

Please sign in to comment.