--- libev/ev.h 2009/04/15 19:35:53 1.114 +++ libev/ev.h 2009/04/25 14:12:48 1.115 @@ -82,6 +82,10 @@ # define EV_ASYNC_ENABLE 1 #endif +#ifndef EV_WALK_ENABLE +# define EV_WALK_ENABLE 0 /* not yet */ +#endif + #ifndef EV_ATOMIC_T # include # define EV_ATOMIC_T sig_atomic_t volatile @@ -494,7 +498,7 @@ /* you can actually call it at any time, anywhere :) */ void ev_default_fork (void); -#if 0 +#if EV_WALK_ENABLE /* walk (almost) all watchers in the loop of a given type, invoking the */ /* callback on every such watcher. The callback might stop the watcher, */ /* but do nothing else with the loop */