From 36c4b66e86c3a93a095ec55e239bedead8a56b50 Mon Sep 17 00:00:00 2001 From: Dmitry Shachnev Date: Thu, 9 Jan 2025 14:39:01 +0300 Subject: [PATCH] also disable ICU C++ header-only APIs, introduced in ICU 76 Forwarded: https://github.com/qtwebkit/qtwebkit/pull/1107 Last-Update: 2025-01-09 They require C++17 which we do not have, but we do not need them anyway. Gbp-Pq: Name icu_76.diff --- Source/WTF/wtf/Platform.h | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h index 74c97bfd..0471e0dc 100644 --- a/Source/WTF/wtf/Platform.h +++ b/Source/WTF/wtf/Platform.h @@ -1140,6 +1140,7 @@ /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */ /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */ #define U_SHOW_CPLUSPLUS_API 0 +#define U_SHOW_CPLUSPLUS_HEADER_API 0 #ifdef __cplusplus #define UCHAR_TYPE char16_t #endif -- 2.30.2