Oops, intptrs are always long integers.
This commit is contained in:
parent
fae451430d
commit
40c8d08347
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: int_types.h,v 1.4 2001/04/12 22:01:20 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.5 2001/04/17 13:46:02 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -79,12 +79,7 @@ typedef unsigned long long int __uint64_t;
|
|||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
#ifdef __arch64__
|
||||
typedef long int __intptr_t;
|
||||
typedef unsigned long int __uintptr_t;
|
||||
#else
|
||||
typedef int __intptr_t;
|
||||
typedef unsigned int __uintptr_t;
|
||||
#endif
|
||||
|
||||
#endif /* !_SPARC_INT_TYPES_H_ */
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: int_types.h,v 1.5 2001/04/12 22:01:20 kleink Exp $ */
|
||||
/* $NetBSD: int_types.h,v 1.6 2001/04/17 13:46:04 kleink Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1992, 1993
|
||||
|
@ -79,12 +79,7 @@ typedef unsigned long long int __uint64_t;
|
|||
|
||||
/* 7.18.1.4 Integer types capable of holding object pointers */
|
||||
|
||||
#ifdef __arch64__
|
||||
typedef long int __intptr_t;
|
||||
typedef unsigned long int __uintptr_t;
|
||||
#else
|
||||
typedef int __intptr_t;
|
||||
typedef unsigned int __uintptr_t;
|
||||
#endif
|
||||
|
||||
#endif /* !_SPARC64_INT_TYPES_H_ */
|
||||
|
|
Loading…
Reference in New Issue