Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 1 | Signed-off-by: Christopher Larson <chris_larson@mentor.com> |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 2 | Upstream-Status: Pending |
| 3 | |
| 4 | From 897563a0397266d8ceb058f172e16b06419b2593 Mon Sep 17 00:00:00 2001 |
| 5 | From: Daniel Schepler <dschepler@gmail.com> |
| 6 | Date: Mon, 26 Mar 2018 17:48:34 +0300 |
| 7 | Subject: [PATCH] Fix FTBFS in x32 |
| 8 | |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 9 | =================================================================== |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 10 | |
| 11 | --- |
| 12 | Source/WTF/wtf/Platform.h | 4 ++++ |
| 13 | 1 file changed, 4 insertions(+) |
| 14 | |
| 15 | diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h |
| 16 | index 850e298..551c047 100644 |
| 17 | --- a/Source/WTF/wtf/Platform.h |
| 18 | +++ b/Source/WTF/wtf/Platform.h |
| 19 | @@ -132,7 +132,11 @@ |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 20 | /* CPU(X86_64) - AMD64 / Intel64 / x86_64 64-bit */ |
| 21 | #if defined(__x86_64__) \ |
| 22 | || defined(_M_X64) |
| 23 | +#ifdef __ILP32__ |
| 24 | +#define WTF_CPU_X86_64_32 1 |
| 25 | +#else |
| 26 | #define WTF_CPU_X86_64 1 |
| 27 | +#endif |
| 28 | #define WTF_CPU_X86_SSE2 1 |
Brad Bishop | 1a4b7ee | 2018-12-16 17:11:34 -0800 | [diff] [blame] | 29 | #define WTF_CPU_KNOWN 1 |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 30 | #endif |