From c291b847846f5921d669b17478cbf59f0c83ee19 Mon Sep 17 00:00:00 2001 From: nbd Date: Wed, 6 Aug 2008 22:23:21 +0000 Subject: add ssize_t definition to site files, fix up size for x86_64 git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12226 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/site/arm-linux-uclibc | 1 + include/site/armeb-linux-uclibc | 1 + include/site/avr32-linux-uclibc | 1 + include/site/cris-linux-uclibc | 28 +++++++++++++++++++++++++++- include/site/i386-linux-uclibc | 1 + include/site/i686-linux-uclibc | 1 + include/site/mips-linux-uclibc | 1 + include/site/mipsel-linux-uclibc | 1 + include/site/powerpc-linux-uclibc | 1 + include/site/x86_64-linux-uclibc | 3 ++- 10 files changed, 37 insertions(+), 2 deletions(-) (limited to 'include/site') diff --git a/include/site/arm-linux-uclibc b/include/site/arm-linux-uclibc index 02c9f888c..dc2af512f 100644 --- a/include/site/arm-linux-uclibc +++ b/include/site/arm-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/armeb-linux-uclibc b/include/site/armeb-linux-uclibc index f0ec10b76..5acac3ada 100644 --- a/include/site/armeb-linux-uclibc +++ b/include/site/armeb-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/avr32-linux-uclibc b/include/site/avr32-linux-uclibc index f0ec10b76..5acac3ada 100644 --- a/include/site/avr32-linux-uclibc +++ b/include/site/avr32-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/cris-linux-uclibc b/include/site/cris-linux-uclibc index bc2835ac1..6fc22f668 100644 --- a/include/site/cris-linux-uclibc +++ b/include/site/cris-linux-uclibc @@ -2,5 +2,31 @@ . $TOPDIR/include/site/linux-uclibc -ac_cv_linux_vers=2.6.19.4 +ac_cv_c_littleendian=${ac_cv_c_littleendian=no} +ac_cv_c_bigendian=${ac_cv_c_bigendian=yes} + +ac_cv_sizeof___int64=0 +ac_cv_sizeof_char=1 +ac_cv_sizeof_int=4 +ac_cv_sizeof_int16_t=2 +ac_cv_sizeof_int32_t=4 +ac_cv_sizeof_int64_t=8 +ac_cv_sizeof_long_int=4 +ac_cv_sizeof_long_long=8 +ac_cv_sizeof_long=4 +ac_cv_sizeof_off_t=4 +ac_cv_sizeof_short_int=2 +ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 +ac_cv_sizeof_u_int16_t=2 +ac_cv_sizeof_u_int32_t=4 +ac_cv_sizeof_u_int64_t=8 +ac_cv_sizeof_uint16_t=2 +ac_cv_sizeof_uint32_t=4 +ac_cv_sizeof_uint64_t=8 +ac_cv_sizeof_unsigned_int=4 +ac_cv_sizeof_unsigned_long=4 +ac_cv_sizeof_unsigned_short=2 +ac_cv_sizeof_void_p=4 + diff --git a/include/site/i386-linux-uclibc b/include/site/i386-linux-uclibc index 02c9f888c..dc2af512f 100644 --- a/include/site/i386-linux-uclibc +++ b/include/site/i386-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/i686-linux-uclibc b/include/site/i686-linux-uclibc index 8bd8b786d..7d4d008cf 100644 --- a/include/site/i686-linux-uclibc +++ b/include/site/i686-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=8 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/mips-linux-uclibc b/include/site/mips-linux-uclibc index f0ec10b76..5acac3ada 100644 --- a/include/site/mips-linux-uclibc +++ b/include/site/mips-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/mipsel-linux-uclibc b/include/site/mipsel-linux-uclibc index 02c9f888c..dc2af512f 100644 --- a/include/site/mipsel-linux-uclibc +++ b/include/site/mipsel-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/powerpc-linux-uclibc b/include/site/powerpc-linux-uclibc index f0ec10b76..5acac3ada 100644 --- a/include/site/powerpc-linux-uclibc +++ b/include/site/powerpc-linux-uclibc @@ -16,6 +16,7 @@ ac_cv_sizeof_off_t=4 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 ac_cv_sizeof_size_t=4 +ac_cv_sizeof_ssize_t=4 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 diff --git a/include/site/x86_64-linux-uclibc b/include/site/x86_64-linux-uclibc index 88942fbc5..3d05f0524 100644 --- a/include/site/x86_64-linux-uclibc +++ b/include/site/x86_64-linux-uclibc @@ -15,7 +15,8 @@ ac_cv_sizeof_long=8 ac_cv_sizeof_off_t=8 ac_cv_sizeof_short_int=2 ac_cv_sizeof_short=2 -ac_cv_sizeof_size_t=4 +ac_cv_sizeof_size_t=8 +ac_cv_sizeof_ssize_t=8 ac_cv_sizeof_u_int16_t=2 ac_cv_sizeof_u_int32_t=4 ac_cv_sizeof_u_int64_t=8 -- cgit v1.2.3