aboutsummaryrefslogtreecommitdiff
path: root/src/udp.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/udp.h
parent3a37ab88906bcdbad17051decc0e4c4c141a17c9 (diff)
downloadluasocket-21514304be9e98a4386cb18542582068a59c5586.tar.gz
luasocket-21514304be9e98a4386cb18542582068a59c5586.tar.bz2
luasocket-21514304be9e98a4386cb18542582068a59c5586.zip
wrap visibility pragmas in #ifndef _WIN32
Diffstat (limited to 'src/udp.h')
-rw-r--r--src/udp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/udp.h b/src/udp.h
index 9e80ccd..07d5247 100644
--- a/src/udp.h
+++ b/src/udp.h
@@ -26,10 +26,14 @@ typedef struct t_udp_ {
26} t_udp; 26} t_udp;
27typedef t_udp *p_udp; 27typedef t_udp *p_udp;
28 28
29#ifndef _WIN32
29#pragma GCC visibility push(hidden) 30#pragma GCC visibility push(hidden)
31#endif
30 32
31int udp_open(lua_State *L); 33int udp_open(lua_State *L);
32 34
35#ifndef _WIN32
33#pragma GCC visibility pop 36#pragma GCC visibility pop
37#endif
34 38
35#endif /* UDP_H */ 39#endif /* UDP_H */