Skip to content
This repository has been archived by the owner. It is now read-only.
Permalink
Browse files

Fixed compile error on Mac OS X 10.4

  • Loading branch information
slouken committed Jan 18, 2010
1 parent 9f85194 commit 08d5a0a532ceafe4b53339abc81db9a98c892705
Showing with 10 additions and 10 deletions.
  1. +0 −10 src/video/cocoa/SDL_cocoakeyboard.m
  2. +10 −0 src/video/cocoa/SDL_cocoavideo.h
@@ -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;

0 comments on commit 08d5a0a

Please sign in to comment.