mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Define NATIVE_LITTLE_ENDIAN / NATIVE_BIG_ENDIAN if we can
This commit is contained in:
parent
201ee903a2
commit
476730ae69
@ -151,7 +151,12 @@ AS_IF([test -d /usr/local/lib], [
|
||||
|
||||
dnl Checks for typedefs, structures, and compiler characteristics.
|
||||
|
||||
AC_C_BIGENDIAN
|
||||
AC_C_BIGENDIAN(
|
||||
AC_DEFINE(NATIVE_BIG_ENDIAN, 1, [machine is bigendian]),
|
||||
AC_DEFINE(NATIVE_LITTLE_ENDIAN, 1, [machine is littleendian]),
|
||||
AC_MSG_ERROR([unknown endianess]),
|
||||
AC_MSG_WARN([universal endianess])
|
||||
)
|
||||
|
||||
AC_MSG_CHECKING(for 128-bit arithmetic)
|
||||
have_ti_mode=no
|
||||
|
Loading…
Reference in New Issue
Block a user