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