diff options
author | E. Westbrook <github@westbrook.io> | 2019-02-28 16:32:07 -0700 |
---|---|---|
committer | E. Westbrook <github@westbrook.io> | 2019-03-10 00:04:20 -0700 |
commit | 21514304be9e98a4386cb18542582068a59c5586 (patch) | |
tree | 1fc604d7cbd6a42c801b92b145651d91c458dfa2 /src/unixstream.h | |
parent | 3a37ab88906bcdbad17051decc0e4c4c141a17c9 (diff) | |
download | luasocket-21514304be9e98a4386cb18542582068a59c5586.tar.gz luasocket-21514304be9e98a4386cb18542582068a59c5586.tar.bz2 luasocket-21514304be9e98a4386cb18542582068a59c5586.zip |
wrap visibility pragmas in #ifndef _WIN32
Diffstat (limited to 'src/unixstream.h')
-rw-r--r-- | src/unixstream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/unixstream.h b/src/unixstream.h index 8ffba8f..7916aff 100644 --- a/src/unixstream.h +++ b/src/unixstream.h | |||
@@ -16,10 +16,14 @@ | |||
16 | \*=========================================================================*/ | 16 | \*=========================================================================*/ |
17 | #include "unix.h" | 17 | #include "unix.h" |
18 | 18 | ||
19 | #ifndef _WIN32 | ||
19 | #pragma GCC visibility push(hidden) | 20 | #pragma GCC visibility push(hidden) |
21 | #endif | ||
20 | 22 | ||
21 | int unixstream_open(lua_State *L); | 23 | int unixstream_open(lua_State *L); |
22 | 24 | ||
25 | #ifndef _WIN32 | ||
23 | #pragma GCC visibility pop | 26 | #pragma GCC visibility pop |
27 | #endif | ||
24 | 28 | ||
25 | #endif /* UNIXSTREAM_H */ | 29 | #endif /* UNIXSTREAM_H */ |