diff options
author | Doug Evans <dje@gnu.org> | 1996-08-18 01:32:53 +0000 |
---|---|---|
committer | Doug Evans <dje@gnu.org> | 1996-08-18 01:32:53 +0000 |
commit | b8a8c83b1007e8ee5481e46fd62dc3d5a2066c89 (patch) | |
tree | 203b8ce5ec4bbe00d147a70dfc75b916d3ffe99c /gcc/gcc.c | |
parent | 1143a698bd8c66cd5fc263f2e765bb1b816387fc (diff) | |
download | gcc-b8a8c83b1007e8ee5481e46fd62dc3d5a2066c89.zip gcc-b8a8c83b1007e8ee5481e46fd62dc3d5a2066c89.tar.gz gcc-b8a8c83b1007e8ee5481e46fd62dc3d5a2066c89.tar.bz2 |
gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when...
* gcc.c: Change ifndef _WIN32 to ifndef NO_SYS_FILE_H when deciding
whether to include sys/file.h.
(execute): -pipe is supported for cygwin32.
From-SVN: r12652
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r-- | gcc/gcc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -37,7 +37,7 @@ compilation is specified by a string called a "spec". */ #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 @@ -1938,7 +1938,7 @@ execute () 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. */ |