1
0
Fork 0
mirror of https://github.com/warmcat/libwebsockets.git synced 2025-03-09 00:00:04 +01:00

libev stub macros need to reflect void when disabled

Reported-by: Michael Harberler <mail17@mah.priv.at>
Signed-off-by: Andy Green <andy.green@linaro.org>
This commit is contained in:
Andy Green 2014-04-21 07:59:44 +09:00
parent c11b847fa8
commit 1b2fc03f24

View file

@ -459,10 +459,10 @@ lws_libev_run(struct libwebsocket_context *context);
#define LWS_LIBEV_ENABLED(context) (0)
#define lws_feature_status_libev(_a) \
lwsl_notice("libev support not compiled in\n")
#define lws_libev_accept(_a, _b, _c) (0)
#define lws_libev_io(_a, _b, _c) (0)
#define lws_libev_accept(_a, _b, _c)
#define lws_libev_io(_a, _b, _c)
#define lws_libev_init_fd_table(_a) (0)
#define lws_libev_run(_a) (0)
#define lws_libev_run(_a)
#endif
#ifdef LWS_USE_IPV6