Index: media/base/media_export.h |
diff --git a/media/base/media_export.h b/media/base/media_export.h |
index 2fc174d2b922a87c6dfe6be4cb1f722fa8470471..b096dc099199bfc4d9e20f850a3f9513d625683c 100644 |
--- a/media/base/media_export.h |
+++ b/media/base/media_export.h |
@@ -19,7 +19,11 @@ |
#endif // defined(MEDIA_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(MEDIA_IMPLEMENTATION) |
#define MEDIA_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define MEDIA_EXPORT |
+#endif // defined(MEDIA_IMPLEMENTATION) |
#endif |
#else // defined(COMPONENT_BUILD) |