d417c4
diff -up firefox-57.0b5/js/src/jit/AtomicOperations.h.jit-atomic-lucky firefox-57.0b5/js/src/jit/AtomicOperations.h
d417c4
--- firefox-57.0b5/js/src/jit/AtomicOperations.h.jit-atomic-lucky	2017-10-06 12:34:02.338973607 +0200
d417c4
+++ firefox-57.0b5/js/src/jit/AtomicOperations.h	2017-10-06 12:38:24.632622215 +0200
d417c4
@@ -415,7 +415,7 @@ AtomicOperations::isLockfreeJS(int32_t s
d417c4
 #elif defined(__s390__) || defined(__s390x__)
d417c4
 # include "jit/none/AtomicOperations-feeling-lucky.h"
d417c4
 #else
d417c4
-# error "No AtomicOperations support provided for this platform"
d417c4
+# include "jit/none/AtomicOperations-feeling-lucky.h"
d417c4
 #endif
d417c4
 
d417c4
 #endif // jit_AtomicOperations_h
d417c4
diff -up firefox-57.0b5/js/src/jit/none/AtomicOperations-feeling-lucky.h.jit-atomic-lucky firefox-57.0b5/js/src/jit/none/AtomicOperations-feeling-lucky.h
d417c4
--- firefox-57.0b5/js/src/jit/none/AtomicOperations-feeling-lucky.h.jit-atomic-lucky	2017-09-19 06:18:28.000000000 +0200
d417c4
+++ firefox-57.0b5/js/src/jit/none/AtomicOperations-feeling-lucky.h	2017-10-06 12:34:02.338973607 +0200
d417c4
@@ -79,6 +79,14 @@
d417c4
 #  define GNUC_COMPATIBLE
d417c4
 #endif
d417c4
 
d417c4
+#ifdef __s390__
d417c4
+#  define GNUC_COMPATIBLE
d417c4
+#endif
d417c4
+
d417c4
+#ifdef __s390x__
d417c4
+#  define GNUC_COMPATIBLE
d417c4
+#endif
d417c4
+
d417c4
 // The default implementation tactic for gcc/clang is to use the newer
d417c4
 // __atomic intrinsics added for use in C++11 <atomic>.  Where that
d417c4
 // isn't available, we use GCC's older __sync functions instead.