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

Unified Diff: base/base_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: base/base_export.h
diff --git a/base/base_export.h b/base/base_export.h
index de3ec26561bf347aac791ffac9bfbfe027ecd8f9..239360ece2ea360e5feaed6634b2191b537da0ed 100644
--- a/base/base_export.h
+++ b/base/base_export.h
@@ -16,7 +16,11 @@
#endif // defined(BASE_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(BASE_IMPLEMENTATION)
#define BASE_EXPORT __attribute__((visibility("default")))
+#else
+#define BASE_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)
« no previous file with comments | « ash/ash_export.h ('k') | base/i18n/base_i18n_export.h » ('j') | ui/aura/aura_export.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698