Hello,
please find below a trivial patch against trunk to support EV_IDLE_ENABLE=0
with ev++.h
-- snip --
--- ev++.h 10 Jul 2009 00:36:21 -0000 1.45
+++ ev++.h 22 Aug 2009 11:10:00 -0000
@@ -725,9 +725,11 @@
EV_END_WATCHER (stat, stat)
#endif
+#if EV_IDLE_ENABLE
EV_BEGIN_WATCHER (idle, idle)
void set () throw () { }
EV_END_WATCHER (idle, idle)
+#endif
EV_BEGIN_WATCHER (prepare, prepare)
void set () throw () { }
-- snip --
Thanks.
Regards,
Didier Spezia.
_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev