Make new pipe2() test work properly when pipe2() undefined (e.g. on OS X).
This commit is contained in:
+1
-1
@@ -244,7 +244,7 @@ if test -z "$poll_LIBS"; then
|
||||
fi
|
||||
|
||||
AC_MSG_CHECKING([whether pipe2(..., O_CLOEXEC) is supported])
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE
|
||||
AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define _GNU_SOURCE
|
||||
#include <unistd.h>
|
||||
#include <fcntl.h>
|
||||
int pipefd[2];
|
||||
|
||||
Reference in New Issue
Block a user