Index: ui/compositor/compositor_export.h |
diff --git a/ui/compositor/compositor_export.h b/ui/compositor/compositor_export.h |
index 7142e1701ea95feece36bfa6a5a9ef52b8084251..3c703490c900fd95cea269c6534ad8ee4d7e36c0 100644 |
--- a/ui/compositor/compositor_export.h |
+++ b/ui/compositor/compositor_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(COMPOSITOR_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(COMPOSITOR_IMPLEMENTATION) |
#define COMPOSITOR_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define COMPOSITOR_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |