From 74c1b268c657a9845250bfd8d30ead960b38771b Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Wed, 31 Jan 2001 02:08:23 +0000 Subject: Cleanup autoconfigury of vfork(). --- gdb/ser-pipe.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'gdb/ser-pipe.c') diff --git a/gdb/ser-pipe.c b/gdb/ser-pipe.c index 9c915b0..a172e71 100644 --- a/gdb/ser-pipe.c +++ b/gdb/ser-pipe.c @@ -24,6 +24,8 @@ #include "serial.h" #include "ser-unix.h" +#include "gdb_vfork.h" + #include #include "gdb_wait.h" #include @@ -64,11 +66,7 @@ pipe_open (serial_t scb, const char *name) if (socketpair (AF_UNIX, SOCK_STREAM, 0, pdes) < 0) return -1; -#ifdef HAVE_VFORK pid = vfork (); -#else - pid = fork (); -#endif /* Error. */ if (pid == -1) -- cgit v1.1