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

Unified Diff: ui/surface/surface_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/surface/surface_export.h
diff --git a/ui/surface/surface_export.h b/ui/surface/surface_export.h
index 1b2164e69bebe4a2644432a97ab2c247b1c72c75..0a016704acfacf2e35ea501cfad75190012af062 100644
--- a/ui/surface/surface_export.h
+++ b/ui/surface/surface_export.h
@@ -16,7 +16,11 @@
#endif // defined(SURFACE_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(SURFACE_IMPLEMENTATION)
#define SURFACE_EXPORT __attribute__((visibility("default")))
+#else
+#define SURFACE_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)
« ui/aura/aura_export.h ('K') | « ui/oak/oak_export.h ('k') | ui/views/views_export.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698