aboutsummaryrefslogtreecommitdiff
path: root/src/tcp.h
diff options
context:
space:
mode:
authorE. Westbrook <github@westbrook.io>2019-02-28 16:32:07 -0700
committerE. Westbrook <github@westbrook.io>2019-03-10 00:04:20 -0700
commit21514304be9e98a4386cb18542582068a59c5586 (patch)
tree1fc604d7cbd6a42c801b92b145651d91c458dfa2 /src/tcp.h
parent3a37ab88906bcdbad17051decc0e4c4c141a17c9 (diff)
downloadluasocket-21514304be9e98a4386cb18542582068a59c5586.tar.gz
luasocket-21514304be9e98a4386cb18542582068a59c5586.tar.bz2
luasocket-21514304be9e98a4386cb18542582068a59c5586.zip
wrap visibility pragmas in #ifndef _WIN32
Diffstat (limited to 'src/tcp.h')
-rw-r--r--src/tcp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/tcp.h b/src/tcp.h
index 9b12b53..9b282ef 100644
--- a/src/tcp.h
+++ b/src/tcp.h
@@ -30,10 +30,14 @@ typedef struct t_tcp_ {
30 30
31typedef t_tcp *p_tcp; 31typedef t_tcp *p_tcp;
32 32
33#ifndef _WIN32
33#pragma GCC visibility push(hidden) 34#pragma GCC visibility push(hidden)
35#endif
34 36
35int tcp_open(lua_State *L); 37int tcp_open(lua_State *L);
36 38
39#ifndef _WIN32
37#pragma GCC visibility pop 40#pragma GCC visibility pop
41#endif
38 42
39#endif /* TCP_H */ 43#endif /* TCP_H */