Index: icu46/public/common/unicode/platform.h.in |
=================================================================== |
--- icu46/public/common/unicode/platform.h.in (revision 68397) |
+++ icu46/public/common/unicode/platform.h.in (working copy) |
@@ -298,7 +298,9 @@ |
/** @{ Symbol import-export control */ |
/*===========================================================================*/ |
-#if @U_USE_GCC_VISIBILITY_ATTRIBUTE@ |
+#ifdef U_STATIC_IMPLEMENTATION |
+#define U_EXPORT |
+#elif @U_USE_GCC_VISIBILITY_ATTRIBUTE@ |
#define U_EXPORT __attribute__((visibility("default"))) |
#elif (defined(__SUNPRO_CC) && __SUNPRO_CC >= 0x550) \ |
|| (defined(__SUNPRO_C) && __SUNPRO_C >= 0x550) |