diff options
author | root <root> | 2007-11-12 07:58:13 +0000 |
---|---|---|
committer | root <root> | 2007-11-12 07:58:13 +0000 |
commit | ea42db4da534aff7a623b651d9287644837b32e2 (patch) | |
tree | 135b00182f3bbffff9fdddf0feca72e57bbad613 /event.c | |
parent | 80b007e04bb3f75ae92cf173ccb6af0510b214ba (diff) |
*** empty log message ***
Diffstat (limited to 'event.c')
-rw-r--r-- | event.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; |