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

Unified Diff: ui/base/ui_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: ui/base/ui_export.h
diff --git a/ui/base/ui_export.h b/ui/base/ui_export.h
index c54de1fc74f2e1935cff63ce05c8a90c00916733..60fc994bc56ec6a69520bc7e6c4953d8898178db 100644
--- a/ui/base/ui_export.h
+++ b/ui/base/ui_export.h
@@ -19,7 +19,11 @@
#endif // defined(UI_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(UI_IMPLEMENTATION)
#define UI_EXPORT __attribute__((visibility("default")))
+#else
+#define UI_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698