From 9c0c1f709e14b3673e48b451ba869244734c2f40 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Sun, 19 May 2024 16:31:02 +0200 Subject: [PATCH] Revert "Avoid 128-bit arithmetic when on WebAssembly targets" This reverts commit 74781400dc765e07492970ac973f7eb48cb83460. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 50aa50e4..0270e9da 100644 --- a/configure.ac +++ b/configure.ac @@ -770,8 +770,8 @@ 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 __wasm__ -# error 128-bit arithmetic in WebAssembly is slow +#ifdef __EMSCRIPTEN__ +# error emscripten currently doesn't support some operations on integers larger than 64 bits #endif #include #include