Blame SOURCES/qtscript-opensource-src-5.5.0-s390.patch

e1789c
diff -up qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390 qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
e1789c
--- qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h.s390	2015-06-29 15:05:58.000000000 -0500
e1789c
+++ qtscript-opensource-src-5.5.0/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h	2015-07-16 09:57:18.963167137 -0500
e1789c
@@ -226,6 +226,18 @@
e1789c
 #define WTF_CPU_SPARC 1
e1789c
 #endif
e1789c
 
e1789c
+/* CPU(S390X) - S390 64-bit */
e1789c
+#if defined(__s390x__)
e1789c
+#define WTF_CPU_S390X 1
e1789c
+#define WTF_CPU_BIG_ENDIAN 1
e1789c
+#endif
e1789c
+
e1789c
+/* CPU(S390) - S390 32-bit */
e1789c
+#if defined(__s390__) && !defined(__s390x__)
e1789c
+#define WTF_CPU_S390 1
e1789c
+#define WTF_CPU_BIG_ENDIAN 1
e1789c
+#endif
e1789c
+
e1789c
 /* CPU(X86) - i386 / x86 32-bit */
e1789c
 #if   defined(__i386__) \
e1789c
     || defined(i386)     \
e1789c
@@ -950,7 +962,7 @@
e1789c
 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
e1789c
 #if (CPU(X86_64) && !CPU(X32) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(MIPS64) || CPU(AARCH64)
e1789c
 #define WTF_USE_JSVALUE64 1
e1789c
-#elif CPU(ARM) || CPU(PPC64)
e1789c
+#elif CPU(ARM) || CPU(PPC64) || CPU(S390X)
e1789c
 #define WTF_USE_JSVALUE32 1
e1789c
 #elif OS(WINDOWS) && COMPILER(MINGW)
e1789c
 /* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg