diff options
author | Joseph Myers <joseph@codesourcery.com> | 2013-01-11 21:13:25 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2013-01-11 21:13:25 +0000 |
commit | 6a57d93130924487bd58b3d80dabd421d4fbbe4f (patch) | |
tree | e10ddd2b9ab102398e117e683fb6dcac1c96fa32 /bits | |
parent | 0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5 (diff) | |
download | glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.gz glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.xz glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.zip |
Remove __GLIBC_HAVE_LONG_LONG.
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 |