Index: ui/base/ui_export.h |
diff --git a/ui/base/ui_export.h b/ui/base/ui_export.h |
index c54de1fc74f2e1935cff63ce05c8a90c00916733..60fc994bc56ec6a69520bc7e6c4953d8898178db 100644 |
--- a/ui/base/ui_export.h |
+++ b/ui/base/ui_export.h |
@@ -19,7 +19,11 @@ |
#endif // defined(UI_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(UI_IMPLEMENTATION) |
#define UI_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define UI_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |