summaryrefslogtreecommitdiff
path: root/event.c
diff options
context:
space:
mode:
authorroot <root>2007-11-12 07:58:13 +0000
committerroot <root>2007-11-12 07:58:13 +0000
commitea42db4da534aff7a623b651d9287644837b32e2 (patch)
tree135b00182f3bbffff9fdddf0feca72e57bbad613 /event.c
parent80b007e04bb3f75ae92cf173ccb6af0510b214ba (diff)
*** empty log message ***
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;