summaryrefslogtreecommitdiff
path: root/ev++.h
diff options
context:
space:
mode:
Diffstat (limited to 'ev++.h')
-rw-r--r--ev++.h2
1 files changed, 2 insertions, 0 deletions
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 () { }