also disable ICU C++ header-only APIs, introduced in ICU 76
authorDmitry Shachnev <mitya57@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
committerDmitry Shachnev <mitya57@debian.org>
Thu, 9 Jan 2025 11:39:01 +0000 (14:39 +0300)
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

index 74c97bfd2a6c9d04e267aced2b97c39703f8b483..0471e0dc9f94bb6ad86556554569dcb5efd000e7 100644 (file)
 /* 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