* collect2.c (collect_execute): Remove cygwin-specific code.

From-SVN: r25123
This commit is contained in:
Mumit Khan 1999-02-10 09:09:22 +00:00 committed by Jeff Law
parent ff2a6c322f
commit 93ea10ba5b
2 changed files with 4 additions and 9 deletions

View File

@ -1,3 +1,7 @@
Wed Feb 10 10:05:23 1999 Mumit Khan <khan@xraylith.wisc.edu>
* collect2.c (collect_execute): Remove cygwin-specific code.
Tue Feb 9 17:27:29 GMT 1999 Nathan Sidwell <nathan@acm.org>
* system.h (_, N_): Remove dummy i18n macros.

View File

@ -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