Index: ui/views/views_export.h |
diff --git a/ui/views/views_export.h b/ui/views/views_export.h |
index f77ac980a9f8b26db73330040d6bfc67fd75ee7f..6ea906a24df7f1e3d9dd035e9858f059cc9f5a0d 100644 |
--- a/ui/views/views_export.h |
+++ b/ui/views/views_export.h |
@@ -19,7 +19,11 @@ |
#endif // defined(VIEWS_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(VIEWS_IMPLEMENTATION) |
#define VIEWS_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define VIEWS_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |