diff options
author | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-21 10:54:55 -0800 |
---|---|---|
committer | Jeremy Huddleston <jeremyhu@freedesktop.org> | 2008-11-21 10:59:34 -0800 |
commit | 5d47a5d6526b7e52387647a15a580dfcafd1733f (patch) | |
tree | e4e78c08501f1eb069352b6a3c3dba85a4fc29a6 | |
parent | b262788401715787c68cea4ca79f4b270307afee (diff) |
XQuartz: pbproxy: Added some typedefs for types not available on Tiger
(cherry picked from commit 0947aa7911f1de44bfe16e505a757b659c5ab2a8)
-rw-r--r-- | hw/xquartz/pbproxy/pbproxy.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hw/xquartz/pbproxy/pbproxy.h b/hw/xquartz/pbproxy/pbproxy.h index c8321b373..eb1f3bae5 100644 --- a/hw/xquartz/pbproxy/pbproxy.h +++ b/hw/xquartz/pbproxy/pbproxy.h @@ -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> |