2020-03-12 20:14:24 +01:00
|
|
|
# HG changeset patch
|
|
|
|
# Parent 9bc02ee6567ae3f1dad1f8578e650c0a1faa0179
|
|
|
|
|
|
|
|
diff --git a/js/src/wasm/WasmSignalHandlers.cpp b/js/src/wasm/WasmSignalHandlers.cpp
|
|
|
|
--- a/js/src/wasm/WasmSignalHandlers.cpp
|
|
|
|
+++ b/js/src/wasm/WasmSignalHandlers.cpp
|
|
|
|
@@ -240,17 +240,17 @@ using mozilla::DebugOnly;
|
|
|
|
// Those definitions are however not present in the headers of every Linux
|
|
|
|
// distro - Raspbian is known to be a problem, for example. However those
|
|
|
|
// distros are tier-3 platforms.
|
|
|
|
//
|
|
|
|
// If you run into compile problems on a tier-3 platform, you can disable the
|
2019-05-22 22:38:29 +02:00
|
|
|
// emulation here.
|
|
|
|
|
|
|
|
#if defined(__linux__) && defined(__arm__)
|
|
|
|
-# define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
|
|
|
+// # define WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#ifdef WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS
|
2020-03-12 20:14:24 +01:00
|
|
|
# include <sys/user.h>
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#if defined(ANDROID)
|
|
|
|
// Not all versions of the Android NDK define ucontext_t or mcontext_t.
|