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.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/fd_util.h') diff --git a/src/fd_util.h b/src/fd_util.h index e65c6a69b..9003b1616 100644 --- a/src/fd_util.h +++ b/src/fd_util.h @@ -144,7 +144,7 @@ inotify_init_cloexec(void); #endif -#ifdef HAVE_EVENTFD +#ifdef USE_EVENTFD /** * Wrapper for eventfd() which sets the flags CLOEXEC and NONBLOCK -- cgit v1.2.3