1From 8b0ff0f2e2882f200f1c21ec76fa679444cb1c43 Mon Sep 17 00:00:00 2001 2From: Jason Schonberg <schonm@gmail.com> 3Date: Wed, 20 Nov 2024 11:05:52 -0500 4Subject: [PATCH] Support ICU 76.1 build 5 6https://bugs.webkit.org/show_bug.cgi?id=282120 7 8Reviewed by Yusuke Suzuki. 9 10In ICU 76.1 an additional macro `U_SHOW_CPLUSPLUS_HEADER_API` was added to 11control visibility of the C++ API within ICU. Set this value to `0` since WebKit 12wants to only use the C API. 13 14* Source/WTF/wtf/Platform.h: 15 16Canonical link: https://commits.webkit.org/285727@main 17 18Upstream-Status: Backport [ from webkitgtk-2.47.1 https://github.com/WebKit/WebKit/commit/63f7badbada070ebaadd318b2801818ecf7e7ea0 ] 19 20Signed-off-by: Jason Schonberg <schonm@gmail.com> 21--- 22 Source/WTF/wtf/Platform.h | 1 + 23 1 file changed, 1 insertion(+) 24 25diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h 26index 23070df2..51a8dce9 100644 27--- a/Source/WTF/wtf/Platform.h 28+++ b/Source/WTF/wtf/Platform.h 29@@ -115,6 +115,7 @@ 30 /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */ 31 #define U_HIDE_DEPRECATED_API 1 32 #define U_SHOW_CPLUSPLUS_API 0 33+#define U_SHOW_CPLUSPLUS_HEADER_API 0 34 #ifdef __cplusplus 35 #define UCHAR_TYPE char16_t 36 #endif 37