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) |