Skip to content

Commit

Permalink
Revert "Avoid 128-bit arithmetic when on WebAssembly targets"
Browse files Browse the repository at this point in the history
This reverts commit 7478140.
  • Loading branch information
jedisct1 committed May 19, 2024
1 parent c9c34fb commit 9c0c1f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -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 <stddef.h>
#include <stdint.h>
Expand Down

0 comments on commit 9c0c1f7

Please sign in to comment.