From 4e1462d890865337a11622a9c08cffa7995b1768 Mon Sep 17 00:00:00 2001 From: Andy Green Date: Mon, 31 Mar 2014 14:42:56 +0800 Subject: [PATCH] fix libev build Signed-off-by: Andy Green --- lib/libwebsockets.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/libwebsockets.c b/lib/libwebsockets.c index 9c73f62d..acbc81e4 100644 --- a/lib/libwebsockets.c +++ b/lib/libwebsockets.c @@ -2010,7 +2010,7 @@ libwebsocket_create_context(struct lws_context_creation_info *info) lwsl_notice("IPV6 not compiled in\n"); #endif #ifdef LWS_USE_LIBEV - if (LWS_LIBEV_ENABLED(context)) + if (info->options & LWS_SERVER_OPTION_LIBEV) lwsl_notice("libev support compiled in and enabled\n"); else lwsl_notice("libev support compiled in but disabled\n");