50c049795a
Update to 5.3.0 beta OBS-URL: https://build.opensuse.org/request/show/227528 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libqt5-qtscript?expand=0&rev=11
31 lines
1.2 KiB
Diff
31 lines
1.2 KiB
Diff
--- qtscript-opensource-src-5.3.0-beta.orig/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-03-25 19:58:23.107458803 +0100
|
|
+++ qtscript-opensource-src-5.3.0-beta/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h 2014-03-25 19:59:36.641818784 +0100
|
|
@@ -195,6 +195,18 @@
|
|
#define WTF_CPU_SPARC 1
|
|
#endif
|
|
|
|
+/* CPU(S390X) - S390 64-bit */
|
|
+#if defined(__s390x__)
|
|
+#define WTF_CPU_S390X 1
|
|
+#define WTF_CPU_BIG_ENDIAN 1
|
|
+#endif
|
|
+
|
|
+/* CPU(S390) - S390 32-bit */
|
|
+#if defined(__s390__) && !defined(__s390x__)
|
|
+#define WTF_CPU_S390 1
|
|
+#define WTF_CPU_BIG_ENDIAN 1
|
|
+#endif
|
|
+
|
|
/* CPU(X86) - i386 / x86 32-bit */
|
|
#if defined(__i386__) \
|
|
|| defined(i386) \
|
|
@@ -919,7 +931,7 @@
|
|
#if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
|
|
#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)
|
|
#define WTF_USE_JSVALUE64 1
|
|
-#elif CPU(ARM) || CPU(PPC64)
|
|
+#elif CPU(ARM) || CPU(PPC64) || CPU(S390X)
|
|
#define WTF_USE_JSVALUE32 1
|
|
#elif OS(WINDOWS) && COMPILER(MINGW)
|
|
/* Using JSVALUE32_64 causes padding/alignement issues for JITStubArg
|