diff options
author | tijl <tijl@FreeBSD.org> | 2011-01-07 22:57:31 +0000 |
---|---|---|
committer | tijl <tijl@FreeBSD.org> | 2011-01-07 22:57:31 +0000 |
commit | 69f949273755bd7b19128d343d3b8312d044a102 (patch) | |
tree | 78a50239e3dcb3a14e744207803113620dde2dc4 /sys/i386 | |
parent | b7f688f9ee40cf29354333f91eb9a073ca07f786 (diff) | |
download | FreeBSD-src-69f949273755bd7b19128d343d3b8312d044a102.zip FreeBSD-src-69f949273755bd7b19128d343d3b8312d044a102.tar.gz |
Remove unused support for 64 bit long on 32 bit architectures.
It was used mainly to discover and fix some 64-bit portability problems
before 64-bit arches were widely available.
Discussed with: bde
Approved by: kib (mentor)
Diffstat (limited to 'sys/i386')
-rw-r--r-- | sys/i386/include/_limits.h | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/sys/i386/include/_limits.h b/sys/i386/include/_limits.h index f328951..43092de 100644 --- a/sys/i386/include/_limits.h +++ b/sys/i386/include/_limits.h @@ -59,16 +59,9 @@ #define __INT_MAX 0x7fffffff /* max value for an int */ #define __INT_MIN (-0x7fffffff - 1) /* min value for an int */ -/* Bad hack for gcc configured to give 64-bit longs. */ -#ifdef _LARGE_LONG -#define __ULONG_MAX 0xffffffffffffffffUL -#define __LONG_MAX 0x7fffffffffffffffL -#define __LONG_MIN (-0x7fffffffffffffffL - 1) -#else #define __ULONG_MAX 0xffffffffUL /* max value for an unsigned long */ #define __LONG_MAX 0x7fffffffL /* max value for a long */ #define __LONG_MIN (-0x7fffffffL - 1) /* min value for a long */ -#endif /* max value for an unsigned long long */ #define __ULLONG_MAX 0xffffffffffffffffULL @@ -87,11 +80,7 @@ #define __QUAD_MAX __LLONG_MAX /* max value for a quad_t */ #define __QUAD_MIN __LLONG_MIN /* min value for a quad_t */ -#ifdef _LARGE_LONG -#define __LONG_BIT 64 -#else #define __LONG_BIT 32 -#endif #define __WORD_BIT 32 /* |