aboutsummaryrefslogtreecommitdiff
path: root/src/timeout.c
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/timeout.c
parent3a37ab88906bcdbad17051decc0e4c4c141a17c9 (diff)
downloadluasocket-21514304be9e98a4386cb18542582068a59c5586.tar.gz
luasocket-21514304be9e98a4386cb18542582068a59c5586.tar.bz2
luasocket-21514304be9e98a4386cb18542582068a59c5586.zip
wrap visibility pragmas in #ifndef _WIN32
Diffstat (limited to 'src/timeout.c')
-rw-r--r--src/timeout.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/timeout.c b/src/timeout.c
index 0e3ee27..2bdc069 100644
--- a/src/timeout.c
+++ b/src/timeout.c
@@ -26,10 +26,6 @@
26#define MAX(x, y) ((x) > (y) ? x : y) 26#define MAX(x, y) ((x) > (y) ? x : y)
27#endif 27#endif
28 28
29#ifndef _WIN32
30#pragma GCC visibility push(hidden)
31#endif
32
33/*=========================================================================*\ 29/*=========================================================================*\
34* Internal function prototypes 30* Internal function prototypes
35\*=========================================================================*/ 31\*=========================================================================*/
@@ -228,7 +224,3 @@ int timeout_lua_sleep(lua_State *L)
228 return 0; 224 return 0;
229} 225}
230#endif 226#endif
231
232#ifndef _WIN32
233#pragma GCC visibility pop
234#endif