diff options
-rw-r--r-- | Changes | 4 | ||||
-rw-r--r-- | ev.c | 2 |
2 files changed, 4 insertions, 2 deletions
@@ -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 @@ -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 |