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

Unified Diff: ui/gl/gl_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/gl/gl_export.h
diff --git a/ui/gl/gl_export.h b/ui/gl/gl_export.h
index 30e6979b18dd994b60062f40af683b1c1f3e98a7..d8d4d4213430d9cae0a108906441206b2669858e 100644
--- a/ui/gl/gl_export.h
+++ b/ui/gl/gl_export.h
@@ -16,7 +16,11 @@
#endif // defined(GL_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(GL_IMPLEMENTATION)
#define GL_EXPORT __attribute__((visibility("default")))
+#else
+#define GL_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698