From 47e16dbee3d43a8fac8e2337df442814ec6d036b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 6 Aug 2013 23:25:57 +0200 Subject: configure.ac: add option --enable-eventfd Remove the runtime check for eventfd(), hard-code the feature once it's been selected at compile time. The class WakeFD is splitted into EventFD and EventPipe, using WakeFD as a macro diversion. --- src/fd_util.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/fd_util.c') diff --git a/src/fd_util.c b/src/fd_util.c index ea29d6eaa..17976a5ee 100644 --- a/src/fd_util.c +++ b/src/fd_util.c @@ -49,7 +49,7 @@ #include #endif -#ifdef HAVE_EVENTFD +#ifdef USE_EVENTFD #include #endif @@ -332,7 +332,7 @@ inotify_init_cloexec(void) #endif -#ifdef HAVE_EVENTFD +#ifdef USE_EVENTFD int eventfd_cloexec_nonblock(unsigned initval, int flags) -- cgit v1.2.3