[git commit ldso-future] types.h: both icc and tendra support long long

Peter S. Mazinger ps.m at gmx.net
Wed Apr 13 17:38:40 UTC 2011


commit: http://git.uclibc.org/uClibc/commit/?id=b789960767f17a858e957129926274dc02983d95
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/ldso-future

Signed-off-by: Peter S. Mazinger <ps.m at gmx.net>
---
 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
-- 
1.7.3.4



More information about the uClibc-cvs mailing list