XQuartz: pbproxy: Added some typedefs for types not available on Tiger

(cherry picked from commit 0947aa7911f1de44bfe16e505a757b659c5ab2a8)
This commit is contained in:
Jeremy Huddleston 2008-11-21 10:54:55 -08:00
parent b262788401
commit 5d47a5d652

View File

@ -32,6 +32,17 @@
#import <Foundation/Foundation.h>
#include <AvailabilityMacros.h>
#if MAC_OS_X_VERSION_MIN_REQUIRED < 1050
#if __LP64__ || NS_BUILD_32_LIKE_64
typedef long NSInteger;
typedef unsigned long NSUInteger;
#else
typedef int NSInteger;
typedef unsigned int NSUInteger;
#endif
#endif
#define Cursor X_Cursor
#undef _SHAPE_H_
#include <X11/Xlib.h>