summaryrefslogtreecommitdiff
path: root/gcc/gcc.c
diff options
context:
space:
mode:
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-17 21:33:56 +0000
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>1998-01-17 21:33:56 +0000
commit5418252c827c2edfed9adb6f4b692b38925f4d6e (patch)
tree4ddabc9c801c690d8e76c304fa2ac8d55ea7828e /gcc/gcc.c
parent113f026687f3eca824ba7d87ad6ceaf27d4f463a (diff)
downloadgcc-5418252c827c2edfed9adb6f4b692b38925f4d6e.tar.gz
* pexecute.c (pexecute): New function for mingw32. Supports pipes.
(pwait): New function for mingw32. * gcc.c (execute): Mingw32 pexecute() supports pipes, but cygwin32 pipe support is broken for now. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@17396 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gcc.c')
-rw-r--r--gcc/gcc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/gcc.c b/gcc/gcc.c
index 6e4a10d9515..52a23bb82d5 100644
--- a/gcc/gcc.c
+++ b/gcc/gcc.c
@@ -2159,7 +2159,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 (__CYGWIN32__)) || defined (OS2) || defined (VMS)
+#if defined (__MSDOS__) || (defined (_WIN32) && defined (__CYGWIN32_)) || defined (OS2) || defined (VMS)
fatal ("-pipe not supported");
#endif
argbuf[i] = 0; /* termination of command args. */