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

Unified Diff: net/base/net_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: net/base/net_export.h
diff --git a/net/base/net_export.h b/net/base/net_export.h
index f212d205f1fe26d305231d02f02e83c16a07a088..bf16668225f29656c97741dd864ef041bc9acbd7 100644
--- a/net/base/net_export.h
+++ b/net/base/net_export.h
@@ -22,8 +22,13 @@
#endif // defined(NET_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(NET_IMPLEMENTATION)
#define NET_EXPORT __attribute__((visibility("default")))
#define NET_EXPORT_PRIVATE __attribute__((visibility("default")))
+#else
+#define NET_EXPORT
+#define NET_EXPORT_PRIVATE
+#endif
#endif
#else /// defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698