diff options
author | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-10 09:09:22 +0000 |
---|---|---|
committer | law <law@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-10 09:09:22 +0000 |
commit | 33c5090519f200550c8f738f94c4c8d154d6fde5 (patch) | |
tree | d095b64729b4be0d166f0f6a076119c3c88122a8 /gcc/collect2.c | |
parent | 085dba14ae9aab7d389600dd977695add9a24fb5 (diff) | |
download | gcc-33c5090519f200550c8f738f94c4c8d154d6fde5.tar.gz |
* collect2.c (collect_execute): Remove cygwin-specific code.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25123 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/collect2.c')
-rw-r--r-- | gcc/collect2.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/gcc/collect2.c b/gcc/collect2.c index f144480411d..e51ce71d39d 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -48,9 +48,6 @@ Boston, MA 02111-1307, USA. */ #include "demangle.h" #include "obstack.h" #include "intl.h" -#ifdef __CYGWIN__ -#include <process.h> -#endif /* Obstack allocation and deallocation routines. */ #define obstack_chunk_alloc xmalloc @@ -1733,7 +1730,6 @@ collect_execute (prog, argv, redir) if (argv[0] == 0) fatal ("cannot find `%s'", prog); -#ifndef __CYGWIN__ pid = vfork (); if (pid == -1) fatal_perror (VFORK_STRING); @@ -1752,11 +1748,6 @@ collect_execute (prog, argv, redir) execvp (argv[0], argv); fatal_perror ("execvp %s", prog); } -#else - pid = _spawnvp (_P_NOWAIT, argv[0], argv); - if (pid == -1) - fatal ("spawnvp failed"); -#endif } static void |