# HG changeset patch # User Richard M. Stallman # Date 744345631 0 # Node ID ecac48eaacce1d96af1415014deedc4e9b83dd92 # Parent 847ef9a62e5d80ee7ebdf0bd472b8273dc8aad51 (vfork): Move this outside the USG conditional. diff -r 847ef9a62e5d -r ecac48eaacce src/sysdep.c --- a/src/sysdep.c Tue Aug 03 01:07:55 1993 +0000 +++ b/src/sysdep.c Tue Aug 03 02:40:31 1993 +0000 @@ -2579,6 +2579,19 @@ #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 @@ #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. */