xref: /aosp_15_r20/external/cronet/third_party/icu/patches/data_symb.patch (revision 6777b5387eb2ff775bb5750e3f5d96f37fb7352b)
1diff --git a/source/common/unicode/utypes.h b/source/common/unicode/utypes.h
2index f890d5d1..0af7ccda 100644
3--- a/source/common/unicode/utypes.h
4+++ b/source/common/unicode/utypes.h
5@@ -312,7 +312,11 @@ typedef double UDate;
6 #define U_IO_API
7 #define U_TOOLUTIL_API
8 #elif defined(U_COMMON_IMPLEMENTATION)
9+#if defined(U_ICUDATAENTRY_IN_COMMON)
10+#define U_DATA_API     U_EXPORT
11+#else
12 #define U_DATA_API     U_IMPORT
13+#endif
14 #define U_COMMON_API   U_EXPORT
15 #define U_I18N_API     U_IMPORT
16 #define U_LAYOUT_API   U_IMPORT
17