From: Richard M. Stallman Date: Tue, 3 Aug 1993 02:40:31 +0000 (+0000) Subject: (vfork): Move this outside the USG conditional. X-Git-Tag: emacs-19.34~11421 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0e18d8ef788ce5237035240eae0a8ce3bf0d87c1;p=emacs.git (vfork): Move this outside the USG conditional. --- diff --git a/src/sysdep.c b/src/sysdep.c index c80051e2031..3cc0a8cf801 100644 --- a/src/sysdep.c +++ b/src/sysdep.c @@ -2579,6 +2579,19 @@ sys_write (fildes, buf, nbyte) #endif /* INTERRUPTIBLE_IO */ +#ifndef HAVE_VFORK + +/* + * Substitute fork for vfork on USG flavors. + */ + +vfork () +{ + return (fork ()); +} + +#endif /* not HAVE_VFORK */ + #ifdef USG /* * All of the following are for USG. @@ -2715,19 +2728,6 @@ rename (from, to) #endif -#ifndef HAVE_VFORK - -/* - * Substitute fork for vfork on USG flavors. - */ - -vfork () -{ - return (fork ()); -} - -#endif /* not HAVE_VFORK */ - #ifdef MISSING_UTIMES /* HPUX (among others) sets HAVE_TIMEVAL but does not implement utimes. */