diff options
Diffstat (limited to 'bits')
-rw-r--r-- | bits/byteswap.h | 2 | ||||
-rw-r--r-- | bits/types.h | 13 |
2 files changed, 3 insertions, 12 deletions
diff --git a/bits/byteswap.h b/bits/byteswap.h index 35d4cb3663..57d34b461a 100644 --- a/bits/byteswap.h +++ b/bits/byteswap.h @@ -91,7 +91,7 @@ __bswap_64 (__uint64_t __bsx) } \ __r.__ll; })) # endif -#elif __GLIBC_HAVE_LONG_LONG +#else # define __bswap_constant_64(x) \ ((((x) & 0xff00000000000000ull) >> 56) \ | (((x) & 0x00ff000000000000ull) >> 40) \ diff --git a/bits/types.h b/bits/types.h index c45d6e4367..dc7b784f96 100644 --- a/bits/types.h +++ b/bits/types.h @@ -42,7 +42,7 @@ typedef unsigned int __uint32_t; #if __WORDSIZE == 64 typedef signed long int __int64_t; typedef unsigned long int __uint64_t; -#elif defined __GLIBC_HAVE_LONG_LONG +#else __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; #endif @@ -51,18 +51,9 @@ __extension__ typedef unsigned long long int __uint64_t; #if __WORDSIZE == 64 typedef long int __quad_t; typedef unsigned long int __u_quad_t; -#elif defined __GLIBC_HAVE_LONG_LONG +#else __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; -#else -typedef struct -{ - long __val[2]; -} __quad_t; -typedef struct -{ - __u_long __val[2]; -} __u_quad_t; #endif |