/* Auxiliary code for filtering of data through a subprocess.
- Copyright (C) 2001-2003, 2008-2013 Free Software Foundation, Inc.
+ Copyright (C) 2001-2003, 2008-2015 Free Software Foundation, Inc.
Written by Bruno Haible <haible@clisp.cons.org>, 2009.
This program is free software: you can redistribute it and/or modify
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>. */
+#ifndef _GL_INLINE_HEADER_BEGIN
+ #error "Please include config.h first."
+#endif
_GL_INLINE_HEADER_BEGIN
#ifndef PIPE_FILTER_AUX_INLINE
# define PIPE_FILTER_AUX_INLINE _GL_INLINE
#undef write /* avoid warning on VMS */
#define write nonintr_write
-# if HAVE_SELECT
-
-PIPE_FILTER_AUX_INLINE int
-nonintr_select (int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
- struct timeval *timeout)
-{
- int retval;
-
- do
- retval = select (n, readfds, writefds, exceptfds, timeout);
- while (retval < 0 && errno == EINTR);
-
- return retval;
-}
-# undef select /* avoid warning on VMS */
-# define select nonintr_select
-
-# endif
-
#endif
/* Non-blocking I/O. */