diff options
-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 | ||||
-rw-r--r-- | sys/sys/limits.h | 7 |
4 files changed, 6 insertions, 15 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 diff --git a/sys/sys/limits.h b/sys/sys/limits.h index 9d70c50700a..4f39d185b8e 100644 --- a/sys/sys/limits.h +++ b/sys/sys/limits.h @@ -1,4 +1,4 @@ -/* $OpenBSD: limits.h,v 1.4 2002/05/11 14:46:41 millert Exp $ */ +/* $OpenBSD: limits.h,v 1.5 2004/09/16 13:10:57 miod Exp $ */ /* * Copyright (c) 2002 Marc Espie. * @@ -34,7 +34,6 @@ * user-visible (only typedefs and #define names that stays in the __xxx * namespace). * - * __machine_arch_is_64_bits (default is 32 bits arches) * __machine_has_unsigned_chars (default is signed chars) * __FLT_xxx/__DBL_xxx non standard values for floating * points limits. @@ -66,7 +65,7 @@ #define INT_MAX 0x7fffffff /* max value for an int */ #define INT_MIN (-0x7fffffff-1) /* min value for an int */ -#ifdef __machine_is_64_bits +#ifdef __LP64__ # define ULONG_MAX 0xffffffffffffffffUL /* max value for unsigned long */ # define LONG_MAX 0x7fffffffffffffffL @@ -96,7 +95,7 @@ #if (!defined(_ANSI_SOURCE)&&!defined(_POSIX_SOURCE)) || defined(_XOPEN_SOURCE) -# ifdef __machine_is_64_bits +# ifdef __LP64__ # define LONG_BIT 64 # else # define LONG_BIT 32 |