summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <root>2008-10-01 18:50:03 +0000
committerroot <root>2008-10-01 18:50:03 +0000
commita846d3eb2ec52fa4f189ec935266c1109b2f4bcf (patch)
tree547e674768691dcaf11969c124a6688e0e669c5e
parent03ba7182d3e525203cd8535ce154a94242a6f511 (diff)
*** empty log message ***
-rw-r--r--Changes3
-rw-r--r--ev.c5
2 files changed, 7 insertions, 1 deletions
diff --git a/Changes b/Changes
index 10a2086..346d5fc 100644
--- a/Changes
+++ b/Changes
@@ -1,9 +1,10 @@
Revision history for libev, a high-performance and full-featured event loop.
-WISH? monotonic clocks times/GetTickCount for coarse corrections?
+WISH? monotonic clocks times/GetTickCount for coarse corrections?
- ev_once now passes both timeout and io to the callback if both
occur concurrently, instead of giving timeouts precedence.
+ - disable EV_USE_INOTIFY when sys/inotify.h is too old.
3.44 Mon Sep 29 05:18:39 CEST 2008
- embed watchers now automatically invoke ev_loop_fork on the
diff --git a/ev.c b/ev.c
index 4e86506..617f5ad 100644
--- a/ev.c
+++ b/ev.c
@@ -289,6 +289,11 @@ extern "C" {
#if EV_USE_INOTIFY
# include <sys/inotify.h>
+/* some very old inotify.h headers don't have IN_DONT_FOLLOW */
+# ifndef IN_DONT_FOLLOW
+# undef EV_USE_INOTIFY
+# define EV_USE_INOTIFY 0
+# endif
#endif
#if EV_SELECT_IS_WINSOCKET