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/timeout.c | |
| 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/timeout.c')
| -rw-r--r-- | src/timeout.c | 8 |
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 | ||
