diff options
author | Peter S. Mazinger <ps.m@gmx.net> | 2011-04-15 00:31:42 +0200 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2012-06-15 14:00:37 +0200 |
commit | acda777b7fc450352d02b5b500de3c76acc1e202 (patch) | |
tree | fbb4bb411a90eff1da325b0d6eda853cd6525223 | |
parent | 5c7e1909e1124c1cfc8251c158f3fb5301cdb1a5 (diff) |
types.h: both icc and tendra support long long
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
-rw-r--r-- | include/sys/types.h | 4 | ||||
-rw-r--r-- | libc/sysdeps/linux/common/bits/types.h | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sys/types.h b/include/sys/types.h index 7e29dc832..2d5eabc65 100644 --- a/include/sys/types.h +++ b/include/sys/types.h @@ -165,7 +165,7 @@ typedef short int int16_t; typedef int int32_t; # if __WORDSIZE == 64 typedef long int int64_t; -# elif defined __GNUC__ || defined __ICC +# elif defined __GNUC__ || defined __ICC || defined __TenDRA__ __extension__ typedef long long int int64_t; # endif # endif @@ -176,7 +176,7 @@ typedef unsigned short int u_int16_t; typedef unsigned int u_int32_t; # if __WORDSIZE == 64 typedef unsigned long int u_int64_t; -# elif defined __GNUC__ || defined __ICC +# elif defined __GNUC__ || defined __ICC || defined __TenDRA__ __extension__ typedef unsigned long long int u_int64_t; # endif diff --git a/libc/sysdeps/linux/common/bits/types.h b/libc/sysdeps/linux/common/bits/types.h index c4c10e2ff..b50e0900d 100644 --- a/libc/sysdeps/linux/common/bits/types.h +++ b/libc/sysdeps/linux/common/bits/types.h @@ -49,7 +49,7 @@ typedef unsigned int __uint32_t; #if __WORDSIZE == 64 typedef signed long int __int64_t; typedef unsigned long int __uint64_t; -#elif defined(__GNUC__) +#elif defined(__GNUC__) || defined __ICC || defined __TenDRA__ __extension__ typedef signed long long int __int64_t; __extension__ typedef unsigned long long int __uint64_t; #endif @@ -58,7 +58,7 @@ __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(__GNUC__) +#elif defined(__GNUC__) || defined __ICC || defined __TenDRA__ __extension__ typedef long long int __quad_t; __extension__ typedef unsigned long long int __u_quad_t; #else |