summaryrefslogtreecommitdiff
path: root/src/s
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1995-05-27 01:08:00 +0000
committerKarl Heuer <kwzh@gnu.org>1995-05-27 01:08:00 +0000
commitec071a8774f4472b2cfaebca5805f060d7cb7955 (patch)
treef24218200373162677cf3b922d32cd3320cc1891 /src/s
parent0002817a76bb3aa179531b2a021178bd02cf5c5c (diff)
downloademacs-ec071a8774f4472b2cfaebca5805f060d7cb7955.tar.gz
(VFORK_RETURN_TYPE): Moved here from s/sol2-4.h.
Diffstat (limited to 'src/s')
-rw-r--r--src/s/sol2-3.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/s/sol2-3.h b/src/s/sol2-3.h
index 891f7cded8b..ac80a2ff120 100644
--- a/src/s/sol2-3.h
+++ b/src/s/sol2-3.h
@@ -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