summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2009-08-22 20:40:02 +0000
committerroot <root>2009-08-22 20:40:02 +0000
commitd2475ceb3f167a49c3fae8500eeb3644a04c7f42 (patch)
treef252d55232d6c432be573b0c8ba4716b3ef5e4de
parent7e01fd517f7b34988d3438bdde655b75c389de2d (diff)
*** empty log message ***
-rw-r--r--Changes2
-rw-r--r--ev++.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/Changes b/Changes
index 0a478fb..d272af3 100644
--- a/Changes
+++ b/Changes
@@ -3,6 +3,8 @@ Revision history for libev, a high-performance and full-featured event loop.
- backport inotify code to C89.
- implement EV_WIN32_HANDLE_TO_FD and EV_WIN32_CLOSE_FD configuration
symbols to make ti easier for apps to do their own fd management.
+ - support EV_IDLE_ENABLE being disabled in ev++.h
+ (patch by Didier Spezia).
3.8 Sun Aug 9 14:30:45 CEST 2009
- incompatible change: do not necessarily reset signal handler
diff --git a/ev++.h b/ev++.h
index 4cec699..fd2563f 100644
--- a/ev++.h
+++ b/ev++.h
@@ -725,9 +725,11 @@ namespace ev {
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 () { }