From d02d6b05a3cb516ccaf69ceef19383513ad52292 Mon Sep 17 00:00:00 2001 From: Daniel De Graaf Date: Fri, 21 May 2010 19:28:34 -0500 Subject: Use EFD_NONBLOCK in test creation of eventfd (makes it require glibc 2.8/linux 2.6.27) --- make/check_eventfd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'make/check_eventfd.cpp') diff --git a/make/check_eventfd.cpp b/make/check_eventfd.cpp index 9746ed733..5fc72ee3b 100644 --- a/make/check_eventfd.cpp +++ b/make/check_eventfd.cpp @@ -1,6 +1,6 @@ #include int main() { - int fd = eventfd(0, 0); + int fd = eventfd(0, EFD_NONBLOCK); return (fd < 0); } -- cgit v1.2.3