aboutsummaryrefslogtreecommitdiff
path: root/bits
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2013-01-11 21:13:25 +0000
committerJoseph Myers <joseph@codesourcery.com>2013-01-11 21:13:25 +0000
commit6a57d93130924487bd58b3d80dabd421d4fbbe4f (patch)
treee10ddd2b9ab102398e117e683fb6dcac1c96fa32 /bits
parent0e8529e94f4e2e457dc145c1c4aa4736a7c81ea5 (diff)
downloadglibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar
glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.gz
glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.tar.bz2
glibc-6a57d93130924487bd58b3d80dabd421d4fbbe4f.zip
Remove __GLIBC_HAVE_LONG_LONG.
Diffstat (limited to 'bits')
-rw-r--r--bits/byteswap.h2
-rw-r--r--bits/types.h13
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