diff options
Diffstat (limited to 'net/base/net_export.h')
-rw-r--r-- | net/base/net_export.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/net_export.h b/net/base/net_export.h index f212d20..bf16668 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) |