Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Wed, 4 Sep 2019 08:41:19 +0000 (09:41 +0100)
committerAlberto Garcia <berto@igalia.com>
Wed, 4 Sep 2019 08:41:19 +0000 (09:41 +0100)
===================================================================

Gbp-Pq: Name fix-ftbfs-sparc64.patch

Source/WTF/wtf/Platform.h

index cc2b11b60c1e1877588295f57b1c55ccf170e5a0..52ab1be28bf60def6f79129e5f71a630142505b7 100644 (file)
 #define WTF_CPU_KNOWN 1
 #endif
 
+/* CPU(SPARC64) - sparc64 */
+#if defined(__sparc__) && defined(__sparc_v9__)
+#define WTF_CPU_BIG_ENDIAN 1
+#endif
+
 /* CPU(X86) - i386 / x86 32-bit */
 #if   defined(__i386__) \
     || defined(i386)     \