summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
Diffstat (limited to 'event.c')
-rw-r--r--event.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/event.c b/event.c
index b4ac267..ecad9a1 100644
--- a/event.c
+++ b/event.c
@@ -91,13 +91,13 @@ void *event_init (void)
{
#if EV_MULTIPLICITY
if (x_cur)
- x_cur = (struct event_base *)ev_loop_new (EVMETHOD_AUTO);
+ x_cur = (struct event_base *)ev_loop_new (EVFLAG_AUTO);
else
- x_cur = (struct event_base *)ev_default_loop (EVMETHOD_AUTO);
+ x_cur = (struct event_base *)ev_default_loop (EVFLAG_AUTO);
#else
assert (("multiple event bases not supported when not compiled with EV_MULTIPLICITY", !x_cur));
- x_cur = (struct event_base *)(long)ev_default_loop (EVMETHOD_AUTO);
+ x_cur = (struct event_base *)(long)ev_default_loop (EVFLAG_AUTO);
#endif
return x_cur;