diff options
author | martell <martellmalone@gmail.com> | 2014-01-22 18:17:03 +0000 |
---|---|---|
committer | Andy Green <andy.green@linaro.org> | 2014-02-15 13:34:25 +0800 |
commit | 19c73f3bed2fccfcd5fe70932017d805d594256e (patch) | |
tree | 8470e6a800710a53ac551eb2a520e8d7dd0ff5b6 /lib | |
parent | ac1ebba564d7225f283f5c378ddfefa3526a31a1 (diff) | |
download | libwebsockets-19c73f3bed2fccfcd5fe70932017d805d594256e.tar.gz |
fixed windows build
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libwebsockets.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 18b50099..7d34568f 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -2104,6 +2104,8 @@ libwebsocket_create_context(struct lws_context_creation_info *info) goto bail; } +#if defined(WIN32) || defined(_WIN32) +#else signal(SIGUSR2, lws_sigusr2); { sigset_t mask; @@ -2112,6 +2114,7 @@ libwebsocket_create_context(struct lws_context_creation_info *info) sigprocmask(SIG_BLOCK, &mask, NULL); } +#endif #ifdef SSL_OP_NO_COMPRESSION SSL_CTX_set_options(context->ssl_ctx, SSL_OP_NO_COMPRESSION); |