aboutsummaryrefslogtreecommitdiff
path: root/src/inet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/inet.h')
-rw-r--r--src/inet.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/inet.h b/src/inet.h
index 2e00e58..5618b61 100644
--- a/src/inet.h
+++ b/src/inet.h
@@ -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
27int inet_open(lua_State *L); 29int 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);
47int inet_pton(int af, const char *src, void *dst); 49int 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 */