From a846d3eb2ec52fa4f189ec935266c1109b2f4bcf Mon Sep 17 00:00:00 2001 From: root Date: Wed, 1 Oct 2008 18:50:03 +0000 Subject: *** empty log message *** --- Changes | 3 ++- ev.c | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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 +/* 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 -- cgit v1.2.3