Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(688)

Unified Diff: media/base/media_export.h

Issue 10386108: Change the way _EXPORT macros look. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/base/media_export.h
diff --git a/media/base/media_export.h b/media/base/media_export.h
index 2fc174d2b922a87c6dfe6be4cb1f722fa8470471..b3e47d51cdcb99e73619a48d1b78fd1d2f72b282 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
#endif
#else // defined(COMPONENT_BUILD)
« no previous file with comments | « ipc/ipc_export.h ('k') | net/base/net_export.h » ('j') | ui/aura/aura_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698