--- cvsroot/EV/EV.xs 2007/11/03 21:58:51 1.47 +++ cvsroot/EV/EV.xs 2007/11/04 16:52:52 1.50 @@ -5,7 +5,6 @@ /*#include */ #define EV_PROTOTYPES 1 -#define EV_STANDALONE 1 #include "EV/EVAPI.h" #include "libev/ev.c" @@ -16,6 +15,7 @@ #undef HAVE_STRTOK_R #undef strtok_r #define strtok_r fake_strtok_r +#include "libev/evdns.h" #include "libev/evdns.c" typedef int Signal; @@ -318,7 +318,7 @@ SvREADONLY_on (sv); } - pthread_atfork (ev_fork_prepare, ev_fork_parent, ev_fork_child); + pthread_atfork (0, 0, ev_default_fork); } NV ev_now () @@ -327,7 +327,7 @@ NV ev_time () -int ev_init (int methods = EVMETHOD_AUTO) +int ev_default_loop (int methods = EVMETHOD_AUTO) void ev_loop (int flags = 0)