diff options
Diffstat (limited to 'src/inet.h')
-rw-r--r-- | src/inet.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -22,7 +22,9 @@ | |||
22 | #define LUASOCKET_INET_ATON | 22 | #define LUASOCKET_INET_ATON |
23 | #endif | 23 | #endif |
24 | 24 | ||
25 | #ifndef _WIN32 | ||
25 | #pragma GCC visibility push(hidden) | 26 | #pragma GCC visibility push(hidden) |
27 | #endif | ||
26 | 28 | ||
27 | int inet_open(lua_State *L); | 29 | int inet_open(lua_State *L); |
28 | 30 | ||
@@ -47,6 +49,8 @@ const char *inet_ntop(int af, const void *src, char *dst, socklen_t cnt); | |||
47 | int inet_pton(int af, const char *src, void *dst); | 49 | int inet_pton(int af, const char *src, void *dst); |
48 | #endif | 50 | #endif |
49 | 51 | ||
52 | #ifndef _WIN32 | ||
50 | #pragma GCC visibility pop | 53 | #pragma GCC visibility pop |
54 | #endif | ||
51 | 55 | ||
52 | #endif /* INET_H */ | 56 | #endif /* INET_H */ |