From 93ea10ba5b8bee5cc7aa10392d7cc80f3662fba5 Mon Sep 17 00:00:00 2001 From: Mumit Khan Date: Wed, 10 Feb 1999 09:09:22 +0000 Subject: [PATCH] * collect2.c (collect_execute): Remove cygwin-specific code. From-SVN: r25123 --- gcc/ChangeLog | 4 ++++ gcc/collect2.c | 9 --------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 6db6024724b..58ad49094b7 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Wed Feb 10 10:05:23 1999 Mumit Khan + + * collect2.c (collect_execute): Remove cygwin-specific code. + Tue Feb 9 17:27:29 GMT 1999 Nathan Sidwell * system.h (_, N_): Remove dummy i18n macros. 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 -#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 -- 2.30.2