From fff87d50dd43900ce837537471d54626669384b4 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Wed, 27 Dec 2017 00:28:41 +0100 Subject: [PATCH] Restore the __EMSCRIPTEN__ check for 128-bit usage --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 923adfe1..24a7ea68 100644 --- a/configure.ac +++ b/configure.ac @@ -644,6 +644,9 @@ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[ #ifndef NATIVE_LITTLE_ENDIAN # error libsodium currently expects a little endian CPU for the 128-bit type #endif +#ifdef __EMSCRIPTEN__ +# error emscripten currently doesn't support some operations on integers larger than 64 bits +#endif #include #include #if defined(__SIZEOF_INT128__)