[patch] add EV_IDLE_ENABLE check in ev++.h
Didier Spezia
didier.06 at gmail.com
Sat Aug 22 13:49:49 CEST 2009
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.schmorp.de/pipermail/libev/attachments/20090822/c2f3dbad/attachment.html>
More information about the libev
mailing list