summaryrefslogtreecommitdiffstats
path: root/ui/compositor/compositor_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/compositor/compositor_export.h')
-rw-r--r--ui/compositor/compositor_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/compositor/compositor_export.h b/ui/compositor/compositor_export.h
index 7142e17..3c70349 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)