23 lines
717 B
Diff
23 lines
717 B
Diff
From: Daniel Schepler <dschepler@gmail.com>
|
|
Subject: Fix FTBFS in x32
|
|
Bug-Debian: https://bugs.debian.org/700795
|
|
Upstream-Status: Pending
|
|
Signed-off-by: Christopher Larson <chris_larson@mentor.com>
|
|
Index: webkitgtk/Source/WTF/wtf/Platform.h
|
|
===================================================================
|
|
--- webkitgtk.orig/Source/WTF/wtf/Platform.h
|
|
+++ webkitgtk/Source/WTF/wtf/Platform.h
|
|
@@ -182,8 +182,12 @@
|
|
/* 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__)
|