mirror of
https://github.com/unicode-org/icu.git
synced 2025-04-13 08:53:20 +00:00
Added U_IS_BIG_ENDIAN check
git-svn-id: http://source.icu-project.org/repos/icu/icu/trunk@28 0a8b766c-62c9-45f9-954d-7f2943c9ead0
This commit is contained in:
parent
be6b5ed6a5
commit
954e2e62e8
1 changed files with 10 additions and 0 deletions
|
@ -49,6 +49,16 @@ HAVE_INTTYPES_H=1
|
|||
fi
|
||||
AC_SUBST(HAVE_INTTYPES_H)
|
||||
|
||||
dnl Check for endianness
|
||||
AC_C_BIGENDIAN(unknown)
|
||||
if test $ac_cv_c_bigendian = no; then
|
||||
U_IS_BIG_ENDIAN=0
|
||||
else
|
||||
U_IS_BIG_ENDIAN=1
|
||||
fi
|
||||
AC_SUBST(U_IS_BIG_ENDIAN)
|
||||
|
||||
|
||||
dnl Checks for typedefs
|
||||
AC_CHECK_TYPE(int8_t,signed char)
|
||||
AC_CHECK_TYPE(uint8_t,unsigned char)
|
||||
|
|
Loading…
Add table
Reference in a new issue