Files
qt4-x11/debian/patches/QtScript_x32_config.diff
2025-08-24 20:55:26 +08:00

16 lines
397 B
Diff

--- a/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
+++ b/src/3rdparty/javascriptcore/JavaScriptCore/wtf/Platform.h
@@ -213,8 +213,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
/* 64-bit mode on AIX */
#ifdef __64BIT__