mirror of
https://github.com/warmcat/libwebsockets.git
synced 2025-03-09 00:00:04 +01:00
Place lws_sigusr2() inside #ifdef LWS_OPENSSL_SUPPORT flags
because when compiling without SSL, 'gcc -Werror' command fails saying lws_sigusr2 is defined but not used
This commit is contained in:
parent
ed1cdbbd54
commit
361a428455
1 changed files with 2 additions and 0 deletions
|
@ -1814,9 +1814,11 @@ int user_callback_handle_rxflow(callback_function callback_function,
|
|||
* This is just used to interrupt poll waiting
|
||||
* we don't have to do anything with it.
|
||||
*/
|
||||
#ifdef LWS_OPENSSL_SUPPORT
|
||||
static void lws_sigusr2(int sig)
|
||||
{
|
||||
}
|
||||
#endif
|
||||
|
||||
/**
|
||||
* libwebsocket_create_context() - Create the websocket handler
|
||||
|
|
Loading…
Add table
Reference in a new issue