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

Unified Diff: ui/views/views_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/views/views_export.h
diff --git a/ui/views/views_export.h b/ui/views/views_export.h
index f77ac980a9f8b26db73330040d6bfc67fd75ee7f..6ea906a24df7f1e3d9dd035e9858f059cc9f5a0d 100644
--- a/ui/views/views_export.h
+++ b/ui/views/views_export.h
@@ -19,7 +19,11 @@
#endif // defined(VIEWS_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(VIEWS_IMPLEMENTATION)
#define VIEWS_EXPORT __attribute__((visibility("default")))
+#else
+#define VIEWS_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698