Index: source/common/unicode/utypes.h |
diff --git a/source/common/unicode/utypes.h b/source/common/unicode/utypes.h |
index 1bd437dc8209a094f999b873d41b149153a0ae77..53c2e21df4a1e5aa87b0b2368099e773cc99f3aa 100644 |
--- a/source/common/unicode/utypes.h |
+++ b/source/common/unicode/utypes.h |
@@ -305,7 +305,11 @@ typedef double UDate; |
#define U_IO_API |
#define U_TOOLUTIL_API |
#elif defined(U_COMMON_IMPLEMENTATION) |
+#if defined(U_ICUDATAENTRY_IN_COMMON) |
+#define U_DATA_API U_EXPORT |
+#else |
#define U_DATA_API U_IMPORT |
+#endif |
#define U_COMMON_API U_EXPORT |
#define U_I18N_API U_IMPORT |
#define U_LAYOUT_API U_IMPORT |