Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Sat, 9 Feb 2019 09:35:18 +0000 (09:35 +0000)
committerAlberto Garcia <berto@igalia.com>
Sat, 9 Feb 2019 09:35:18 +0000 (09:35 +0000)
===================================================================

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

Source/WTF/wtf/Platform.h

index 67cfa93313c90421eb6cf179d98ef703da0e49db..fcf76958b631d84d85e7bfebcf358553909438c2 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)     \