LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File webkit-ia64_s390x.patch of Package libqt4-devel-doc-data (Project KDE:Qt:STABLE)

--- src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -123,6 +123,11 @@
 #define WTF_CPU_ALPHA 1
 #endif
 
+/* PLATFORM(S390X) */
+#if   defined(__s390x__)
+#define WTF_CPU_S390X 1
+#endif
+
 /* CPU(IA64) - Itanium / IA-64 */
 #if defined(__ia64__) || defined(__ia64) || defined(_M_IA64)
 #define WTF_CPU_IA64 1
@@ -870,7 +875,7 @@
 #endif
 
 #if !defined(WTF_USE_JSVALUE64) && !defined(WTF_USE_JSVALUE32) && !defined(WTF_USE_JSVALUE32_64)
-#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64)
+#if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS) || OS(SOLARIS) || OS(HPUX))) || (CPU(IA64) && !CPU(IA64_32)) || CPU(ALPHA) || CPU(AIX64) || CPU(SPARC64) || CPU(S390X)
 #define WTF_USE_JSVALUE64 1
 #elif CPU(ARM) || CPU(PPC64)
 #define WTF_USE_JSVALUE32 1
--- src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
+++ src/3rdparty/webkit/JavaScriptCore/wtf/Platform.h
@@ -113,6 +113,10 @@
 #define WTF_CPU_ALPHA 1
 #endif
 
+#if defined(__s390x__)
+#define WTF_CPU_S390X 1
+#endif
+
 /* CPU(IA64) - Itanium / IA-64 */
 #if defined(__ia64__)
 #define WTF_CPU_IA64 1
@@ -885,6 +889,7 @@
 #if (CPU(X86_64) && (OS(UNIX) || OS(WINDOWS))) \
     || (CPU(IA64) && !CPU(IA64_32)) \
     || CPU(ALPHA) \
+    || CPU(S390X) \
     || CPU(SPARC64)
 #define WTF_USE_JSVALUE64 1
 #elif CPU(ARM) || CPU(PPC64) || CPU(MIPS)