mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-25 04:09:31 +03:00
configure: fixed detection of eventfd() with new compilers builds
This commit is contained in:
@@ -2032,6 +2032,7 @@ AS_IF([[test "x$enable_itc" = "xeventfd" || test "x$enable_itc" = "xauto"]], [
|
||||
AC_LINK_IFELSE([
|
||||
AC_LANG_PROGRAM([[
|
||||
#include <sys/eventfd.h>
|
||||
#include <unistd.h>
|
||||
]], [[
|
||||
int ef = eventfd(0, EFD_CLOEXEC | EFD_NONBLOCK);
|
||||
if (ef < 0) return 1;
|
||||
|
||||
Reference in New Issue
Block a user