# HG changeset patch # User Karl Heuer # Date 801526075 0 # Node ID e45a4d0aae481c1187e5768f3761c5baa1d1d777 # Parent cb9697be9f335c0a39ab914e2f0d1ca2fa110eb1 Move #undef HAVE_VFORK to s/sol2-3.h. Define VFORK_RETURN_TYPE. diff -r cb9697be9f33 -r e45a4d0aae48 src/s/sol2-4.h --- a/src/s/sol2-4.h Fri May 26 22:06:59 1995 +0000 +++ b/src/s/sol2-4.h Fri May 26 22:07:55 1995 +0000 @@ -6,10 +6,10 @@ /* Solaris 2.4 has a broken vfork. So we don't use it; we use the alternate definition in sysdep.c. - But a header file has a declaration - that conflicts with the definition of vfork in sysdep.c. - This kludge should prevent the conflict. */ -#define pid_t int + But a header file has a declaration + that would conflict with the definition of vfork in sysdep.c. + So we'll choose the return type to match the system header. */ +#define VFORK_RETURN_TYPE pid_t /* Get rid of -traditional and let const really do its thing. */ @@ -17,6 +17,3 @@ #undef C_SWITCH_SYSTEM #undef const #endif /* __GNUC__ */ - -/* David Miller says vfork fails on 2.4. */ -#undef HAVE_VFORK