From 46d8874d5b2fcb7831dd84c5e2f6df51922a7936 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Tue, 18 Apr 2017 14:09:01 +0200 Subject: Assume that pipe2 is always available The Debian patches for Hurd (which are already required to build glibc before this commit) contain an implementation of pipe2. --- socket/have_sock_cloexec.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'socket') diff --git a/socket/have_sock_cloexec.c b/socket/have_sock_cloexec.c index 70c730e..579577d 100644 --- a/socket/have_sock_cloexec.c +++ b/socket/have_sock_cloexec.c @@ -19,10 +19,6 @@ #include #include -#if defined O_CLOEXEC && !defined __ASSUME_PIPE2 -int __have_pipe2; -#endif - #if defined O_CLOEXEC && !defined __ASSUME_DUP3 int __have_dup3; #endif -- cgit v1.1