[git commit] types.h: both icc and tendra support long long
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Fri Jun 15 12:00:37 UTC 2012
commit: http://git.uclibc.org/uClibc/commit/?id=acda777b7fc450352d02b5b500de3c76acc1e202
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
include/sys/types.h | 4 ++--
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 7e29dc8..2d5eabc 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 c4c10e2..b50e090 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
More information about the uClibc-cvs
mailing list