summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 () { }