summaryrefslogtreecommitdiff
path: root/sysdeps/wordsize-32/stdint.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-01 11:00:26 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-01 11:00:26 +0000
commit7782d0bf55c294b7ed872e2590fcf4a683be5e05 (patch)
tree1e61d31c86a72090043c69ac0a2b41d25e4f86c4 /sysdeps/wordsize-32/stdint.h
parente3e4e463cf18e47448e92f6cb2c126b9828cd2ca (diff)
Update.
* sys/types.h: Protect use of long long by __extension__. * stdlib/stdlib.h: Likewise. * string/string.h: Likewise. * sysdeps/i386/bits/byteswap.h: Likewise. * sysdeps/geeric/bits/byteswap.h: Likewise. * sysdeps/i386/fpu/bits/mathinline.h: Likewise. * sysdeps/unix/sysv/linux/bits/types.h: Likewise. * sysdeps/unix/sysv/linux/mips/bits/types.h: Likewise. * sysdeps/wordsize-32/inttypes.h: Likewise. * sysdeps/wordsize-32/stdint.h: Likewise. * wcsmbs/wchar.h: Likewise.
Diffstat (limited to 'sysdeps/wordsize-32/stdint.h')
-rw-r--r--sysdeps/wordsize-32/stdint.h10
1 files changed, 8 insertions, 2 deletions
diff --git a/sysdeps/wordsize-32/stdint.h b/sysdeps/wordsize-32/stdint.h
index 2f693e81ff..ef3de98620 100644
--- a/sysdeps/wordsize-32/stdint.h
+++ b/sysdeps/wordsize-32/stdint.h
@@ -37,6 +37,7 @@
typedef signed char int8_t;
typedef short int int16_t;
typedef int int32_t;
+__extension__
typedef long long int int64_t;
#endif
@@ -44,6 +45,7 @@ typedef long long int int64_t;
typedef unsigned char uint8_t;
typedef unsigned short int uint16_t;
typedef unsigned int uint32_t;
+__extension__
typedef unsigned long long int uint64_t;
@@ -53,12 +55,14 @@ typedef unsigned long long int uint64_t;
typedef signed char int_least8_t;
typedef short int int_least16_t;
typedef int int_least32_t;
+__extension__
typedef long long int int_least64_t;
/* Unsigned. */
typedef unsigned char uint_least8_t;
typedef unsigned short int uint_least16_t;
typedef unsigned int uint_least32_t;
+__extension__
typedef unsigned long long int uint_least64_t;
@@ -68,12 +72,14 @@ typedef unsigned long long int uint_least64_t;
typedef signed char int_fast8_t;
typedef int int_fast16_t;
typedef int int_fast32_t;
+__extension__
typedef long long int int_fast64_t;
/* Unsigned. */
typedef unsigned char uint_fast8_t;
typedef unsigned int uint_fast16_t;
typedef unsigned int uint_fast32_t;
+__extension__
typedef unsigned long long int uint_fast64_t;
@@ -86,8 +92,8 @@ typedef unsigned int uintptr_t;
/* Largest integral types. */
-typedef long long int intmax_t;
-typedef unsigned long long int uintmax_t;
+__extension__ typedef long long int intmax_t;
+__extension__ typedef unsigned long long int uintmax_t;
/* The ISO C 9X standard specifies that these macros must only be