--- libev/event.h 2010/03/16 18:38:11 1.21 +++ libev/event.h 2010/10/21 12:32:48 1.22 @@ -46,6 +46,12 @@ # include "ev.h" #endif +#ifndef EVLOOP_NONBLOCK +# define EVLOOP_NONBLOCK EVRUN_NOWAIT +#endif +#ifndef EVLOOP_ONESHOT +# define EVLOOP_ONESHOT EVRUN_ONCE +#endif #ifndef EV_TIMEOUT # define EV_TIMEOUT EV_TIMER #endif