1
0
Fork 0
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:
arnaudviala 2014-02-07 17:06:52 +01:00
parent ed1cdbbd54
commit 361a428455

View file

@ -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