summaryrefslogtreecommitdiffstats
path: root/ui/oak/oak_export.h
diff options
context:
space:
mode:
Diffstat (limited to 'ui/oak/oak_export.h')
-rw-r--r--ui/oak/oak_export.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/oak/oak_export.h b/ui/oak/oak_export.h
index c769ed1..51c79ee 100644
--- a/ui/oak/oak_export.h
+++ b/ui/oak/oak_export.h
@@ -19,7 +19,11 @@
#endif // defined(OAK_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(OAK_IMPLEMENTATION)
#define OAK_EXPORT __attribute__((visibility("default")))
+#else
+#define OAK_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)