mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-23 20:15:19 -07:00
Revert "Avoid 128-bit arithmetic when on WebAssembly targets"
This reverts commit 74781400dc
.
This commit is contained in:
parent
c9c34fb31f
commit
9c0c1f709e
@ -770,8 +770,8 @@ 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 __wasm__
|
#ifdef __EMSCRIPTEN__
|
||||||
# error 128-bit arithmetic in WebAssembly is slow
|
# error emscripten currently doesn't support some operations on integers larger than 64 bits
|
||||||
#endif
|
#endif
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
Loading…
Reference in New Issue
Block a user