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