commit | 19c73f3bed2fccfcd5fe70932017d805d594256e | [log] [tgz] |
---|---|---|
author | martell <martellmalone@gmail.com> | Wed Jan 22 18:17:03 2014 +0000 |
committer | Andy Green <andy.green@linaro.org> | Sat Feb 15 13:34:25 2014 +0800 |
tree | 8470e6a800710a53ac551eb2a520e8d7dd0ff5b6 | |
parent | ac1ebba564d7225f283f5c378ddfefa3526a31a1 [diff] [blame] |
fixed windows build
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 18b5009..7d34568 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c
@@ -2104,6 +2104,8 @@ goto bail; } +#if defined(WIN32) || defined(_WIN32) +#else signal(SIGUSR2, lws_sigusr2); { sigset_t mask; @@ -2112,6 +2114,7 @@ sigprocmask(SIG_BLOCK, &mask, NULL); } +#endif #ifdef SSL_OP_NO_COMPRESSION SSL_CTX_set_options(context->ssl_ctx, SSL_OP_NO_COMPRESSION);