summaryrefslogtreecommitdiff
path: root/libre/iceweasel/arm.patch
blob: a5ce2c542988cb88ca84a691470832d284e52e67 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
https://bugzilla.mozilla.org/show_bug.cgi?id=1526653

diff --git a/js/src/wasm/WasmSignalHandlers.cpp.orig b/js/src/wasm/WasmSignalHandlers.cpp
index d46b1c6..cf4c957 100644
--- a/js/src/wasm/WasmSignalHandlers.cpp.orig
+++ b/js/src/wasm/WasmSignalHandlers.cpp
@@ -228,7 +228,7 @@ using mozilla::DebugOnly;
 #  error "Don't know how to read/write to the thread state via the mcontext_t."
 #endif
 
-#if defined(__linux__) && defined(__arm__)
+#if 0 && defined(__linux__) && defined(__arm__)
 #  include <sys/user.h>
 #endif
 
@@ -456,7 +456,7 @@ struct AutoHandlingTrap {
   }
 };
 
-#if defined(__linux__) && defined(__arm__)
+#if 0 && defined(__linux__) && defined(__arm__)
 
 // Code to handle SIGBUS for unaligned floating point accesses on 32-bit ARM.