whether to include sys/file.h.
(execute): -pipe is supported for cygwin32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12652
138bc75d-0d04-0410-961f-
82ee72b054a4
#include <sys/stat.h>
#include <errno.h>
-#ifndef _WIN32
+#ifndef NO_SYS_FILE_H
#include <sys/file.h> /* May get R_OK, etc. on some systems. */
#endif
for (n_commands = 1, i = 0; i < argbuf_index; i++)
if (strcmp (argbuf[i], "|") == 0)
{ /* each command. */
-#if defined (__MSDOS__) || defined (_WIN32) || defined (OS2)
+#if defined (__MSDOS__) || (defined (_WIN32) && ! defined (__CYGWIN32__)) || defined (OS2)
fatal ("-pipe not supported");
#endif
argbuf[i] = 0; /* termination of command args. */