diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-16 13:10:58 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2004-09-16 13:10:58 +0000 |
commit | 7df66f5ebad6543f9eefcc31e4e30425f8122b1a (patch) | |
tree | 3cd8e7585d498924299ef6931aa58f7f0113c1fa /sys/arch | |
parent | 187c498a64350d94f6d7e6b5ccce16846ba17cc6 (diff) |
Rely upon __LP64__ to choose {U,}LONG_{MIN,MAX} values, rather than a
homegrown define.
ok deraadt@
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/alpha/include/internal_types.h | 4 | ||||
-rw-r--r-- | sys/arch/amd64/include/internal_types.h | 6 | ||||
-rw-r--r-- | sys/arch/sparc64/include/internal_types.h | 4 |
3 files changed, 3 insertions, 11 deletions
diff --git a/sys/arch/alpha/include/internal_types.h b/sys/arch/alpha/include/internal_types.h index 076d2a5ee3c..0d47276b9bb 100644 --- a/sys/arch/alpha/include/internal_types.h +++ b/sys/arch/alpha/include/internal_types.h @@ -1,8 +1,6 @@ -/* $OpenBSD: internal_types.h,v 1.1 2002/04/24 21:53:11 espie Exp $ */ +/* $OpenBSD: internal_types.h,v 1.2 2004/09/16 13:10:56 miod Exp $ */ /* Public domain */ #ifndef _MACHINE_INTERNAL_TYPES_H_ #define _MACHINE_INTERNAL_TYPES_H_ -#define __machine_is_64_bits - #endif diff --git a/sys/arch/amd64/include/internal_types.h b/sys/arch/amd64/include/internal_types.h index 8237a6b4cef..debdc9cfc32 100644 --- a/sys/arch/amd64/include/internal_types.h +++ b/sys/arch/amd64/include/internal_types.h @@ -1,10 +1,6 @@ -/* $OpenBSD: internal_types.h,v 1.1 2004/01/28 01:39:39 mickey Exp $ */ +/* $OpenBSD: internal_types.h,v 1.2 2004/09/16 13:10:57 miod Exp $ */ /* Public domain */ #ifndef _MACHINE_INTERNAL_TYPES_H_ #define _MACHINE_INTERNAL_TYPES_H_ -#ifdef __x86_64__ -#define __machine_is_64_bits -#endif - #endif diff --git a/sys/arch/sparc64/include/internal_types.h b/sys/arch/sparc64/include/internal_types.h index a7d0101a8ba..01471cf27d5 100644 --- a/sys/arch/sparc64/include/internal_types.h +++ b/sys/arch/sparc64/include/internal_types.h @@ -1,8 +1,6 @@ -/* $OpenBSD: internal_types.h,v 1.1 2002/04/24 21:53:12 espie Exp $ */ +/* $OpenBSD: internal_types.h,v 1.2 2004/09/16 13:10:57 miod Exp $ */ /* Public domain */ #ifndef _MACHINE_INTERNAL_TYPES_H_ #define _MACHINE_INTERNAL_TYPES_H_ -#define __machine_is_64_bits - #endif |