Fix FTBFS in sparc64
authorDavid Matthew Mattli <dmm@mattli.us>
Fri, 14 Sep 2018 18:23:00 +0000 (19:23 +0100)
committerAlberto Garcia <berto@igalia.com>
Fri, 14 Sep 2018 18:23:00 +0000 (19:23 +0100)
===================================================================

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

Source/WTF/wtf/Platform.h

index 0c6efb862982539d2b4b2cc4f8f8b5fcb4ec88e8..ba6eae9cc43beeca36b4227241398d2e8dcc9003 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)     \