XQuartz: pbproxy: Added some typedefs for types not available on Tiger
(cherry picked from commit 0947aa7911f1de44bfe16e505a757b659c5ab2a8)
This commit is contained in:
parent
b262788401
commit
5d47a5d652
|
@ -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>
|
||||
|
|
Loading…
Reference in New Issue