Index: ui/oak/oak_export.h |
diff --git a/ui/oak/oak_export.h b/ui/oak/oak_export.h |
index c769ed1596a346ef172745134b2442d68299c171..51c79eeb22e1090f919e6795f2a12caddd7d2243 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) |