From 20e8aa2b72bb6b0530da6f7f54f314c695a24d78 Mon Sep 17 00:00:00 2001 From: root Date: Tue, 29 Oct 2013 12:53:38 +0000 Subject: *** empty log message *** --- Changes | 4 +++- ev.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index cb3b1e5..474a088 100644 --- a/Changes +++ b/Changes @@ -13,11 +13,13 @@ TODO: store loop pid_t and compare isndie signal handler,store 1 for same, 2 for TODO: embed watchers need updating when fd changes TODO: document portbaility requirements for atomic pointer access -TODO: glibc >=2.17 do not need -lrt for clock_xxx - mark event pipe fd as cloexec after a fork (analyzed by Sami Farin). - (ecb) support m68k, m88k and sh (patch by Miod Vallat). - use a reasonable fallback for EV_NSIG instead of erroring out when we can't detect the signal set size. + - in the absence of autoconf, do not use the clock syscall + on glibc >= 2.17 (avoids the syscall AND -lrt on systems + doing clock_gettime in userspace). 4.15 Fri Mar 1 12:04:50 CET 2013 - destroying a non-default loop would stop the global waitpid diff --git a/ev.c b/ev.c index 4bfbe94..c8e7fb2 100644 --- a/ev.c +++ b/ev.c @@ -251,7 +251,7 @@ #endif #ifndef EV_USE_CLOCK_SYSCALL -# if __linux && __GLIBC__ >= 2 +# if __linux && __GLIBC__ == 2 && __GLIBC_MINOR__ < 17 # define EV_USE_CLOCK_SYSCALL EV_FEATURE_OS # else # define EV_USE_CLOCK_SYSCALL 0 -- cgit v1.2.3