Fix FTBFS in x32
authorDaniel Schepler <dschepler@gmail.com>
Thu, 31 May 2018 17:38:40 +0000 (18:38 +0100)
committerAlberto Garcia <berto@igalia.com>
Thu, 31 May 2018 17:38:40 +0000 (18:38 +0100)
===================================================================

Gbp-Pq: Name x32_support.patch

Source/WTF/wtf/Platform.h

index 91a1f052c72ba6f706c0090ea51d489835c76c9c..581632b4499c31207258d82a2b5f01f8393607ed 100644 (file)
 /* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */
 #if   defined(__x86_64__) \
     || defined(_M_X64)
+#ifdef __ILP32__
+#define WTF_CPU_X86_64_32 1
+#else
 #define WTF_CPU_X86_64 1
 #endif
+#endif
 
 /* CPU(ARM64) - Apple */
 #if (defined(__arm64__) && defined(__APPLE__)) || defined(__aarch64__)