fix libev build

Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-03-31 14:42:56 +08:00
parent bfaea95f60
commit 4e1462d890

View file

@ -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");