Rex Dieter 8ec4a9
diff -up qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
Rex Dieter 8ec4a9
--- qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390	2014-03-30 15:36:49.000000000 -0500
Rex Dieter 8ec4a9
+++ qt-everywhere-opensource-src-4.8.6/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h	2014-03-31 17:59:16.846465899 -0500
064e0d
@@ -189,6 +189,18 @@
064e0d
 #define WTF_CPU_SPARC 1
064e0d
 #endif
064e0d
 
064e0d
+/* CPU(S390X) - S390 64-bit */
064e0d
+#if defined(__s390x__)
064e0d
+#define WTF_CPU_S390X 1
064e0d
+#define WTF_CPU_BIG_ENDIAN 1
064e0d
+#endif
064e0d
+
064e0d
+/* CPU(S390) - S390 32-bit */
064e0d
+#if defined(__s390__)
064e0d
+#define WTF_CPU_S390 1
064e0d
+#define WTF_CPU_BIG_ENDIAN 1
064e0d
+#endif
064e0d
+
064e0d
 /* CPU(X86) - i386 / x86 32-bit */
064e0d
 #if   defined(__i386__) \
064e0d
     || defined(i386)     \
Rex Dieter 8ec4a9
@@ -903,7 +915,7 @@
064e0d
 #endif
064e0d
 
064e0d
 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
Rex Dieter 8ec4a9
-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64)
Rex Dieter 8ec4a9
+#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64) || CPU(S390X)
064e0d
 #define WTF_USE_JSVALUE64 1
064e0d
 #elif CPU(ARM) || CPU(PPC64)
064e0d
 #define WTF_USE_JSVALUE32 1