changeset 11964:03de0dfc6657

(VFORK_RETURN_TYPE): Moved here from s/sol2-4.h.
author Karl Heuer <kwzh@gnu.org>
date Sat, 27 May 1995 01:08:00 +0000
parents bfb07760304d
children c0cef571e5e3
files src/s/sol2-3.h
diffstat 1 files changed, 7 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/s/sol2-3.h	Sat May 27 00:48:24 1995 +0000
+++ b/src/s/sol2-3.h	Sat May 27 01:08:00 1995 +0000
@@ -49,6 +49,11 @@
     pty_name[sizeof(pty_name) - 1] = 0;		\
   }
 
-/* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4.  */
-/* Brendan Kehoe <brendan@zen.org> says it also fails on 2.3.  */
+/* David Miller <davem@caip.rutgers.edu> says vfork fails on 2.4.
+   Brendan Kehoe <brendan@zen.org> says it also fails on 2.3.
+   So we'll use the alternate definition in sysdep.c.
+   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.  */
 #undef HAVE_VFORK
+#define VFORK_RETURN_TYPE pid_t