mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 16:58:03 +02:00
XQuartz: pbproxy: Added some typedefs for types not available on Tiger
This commit is contained in:
parent
803509072f
commit
0947aa7911
1 changed files with 11 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue