From: Felix Fietkau Date: Wed, 6 Aug 2008 22:23:21 +0000 (+0000) Subject: add ssize_t definition to site files, fix up size for x86_64 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=348d5ba52100a61e30cf5269e14fe3f28f40583f;p=openwrt%2Fstaging%2Fthess.git add ssize_t definition to site files, fix up size for x86_64 SVN-Revision: 12226 --- diff --git a/include/site/arm-linux-uclibc b/include/site/arm-linux-uclibc index 02c9f888c2..dc2af512fb 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 f0ec10b765..5acac3ada8 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 f0ec10b765..5acac3ada8 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 bc2835ac19..6fc22f668a 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 02c9f888c2..dc2af512fb 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 8bd8b786d2..7d4d008cf7 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 f0ec10b765..5acac3ada8 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 02c9f888c2..dc2af512fb 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 f0ec10b765..5acac3ada8 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 88942fbc55..3d05f0524c 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