mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
64 bit fixups
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@29871 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bd80e23aa8
commit
22f8bdb8c4
6 changed files with 53 additions and 42 deletions
|
@ -29,8 +29,8 @@
|
|||
|
||||
/* These are not defined in older Mac OS X systems */
|
||||
#ifndef NSINTEGER_DEFINED
|
||||
typedef int NSInteger;
|
||||
typedef unsigned int NSUInteger;
|
||||
typedef intptr_t NSInteger;
|
||||
typedef uintptr_t NSUInteger;
|
||||
#define NSINTEGER_DEFINED 1
|
||||
#endif
|
||||
|
||||
|
@ -51,8 +51,9 @@ typedef unsigned int NSUInteger;
|
|||
#define GSUNION_16B 0x0200
|
||||
#define GSUNION_32B 0x0400
|
||||
#define GSUNION_64B 0x0800
|
||||
#define GSUNION_NSINT 0x1000
|
||||
|
||||
#define GSUNION_ALL 0x0fff
|
||||
#define GSUNION_ALL 0x1fff
|
||||
|
||||
#endif /* GSUNION_OBJ */
|
||||
|
||||
|
@ -96,6 +97,10 @@ typedef union {
|
|||
long slng;
|
||||
unsigned long ulng;
|
||||
#endif
|
||||
#if ((GSUNION_TYPES) & GSUNION_NSINT)
|
||||
NSInteger nsi;
|
||||
NSUInteger nsu;
|
||||
#endif
|
||||
#if ((GSUNION_TYPES) & GSUNION_PTR)
|
||||
void *ptr;
|
||||
const void *cptr;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue