1
mirror of https://github.com/jedisct1/libsodium.git synced 2024-12-23 20:15:19 -07:00

Restore the __EMSCRIPTEN__ check for 128-bit usage

This commit is contained in:
Frank Denis 2017-12-27 00:28:41 +01:00
parent d73d5f8ee6
commit fff87d50dd

View File

@ -644,6 +644,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
#ifndef NATIVE_LITTLE_ENDIAN #ifndef NATIVE_LITTLE_ENDIAN
# error libsodium currently expects a little endian CPU for the 128-bit type # error libsodium currently expects a little endian CPU for the 128-bit type
#endif #endif
#ifdef __EMSCRIPTEN__
# error emscripten currently doesn't support some operations on integers larger than 64 bits
#endif
#include <stddef.h> #include <stddef.h>
#include <stdint.h> #include <stdint.h>
#if defined(__SIZEOF_INT128__) #if defined(__SIZEOF_INT128__)