From 97112ff6f4f2a1dcd4c7f8a7512e0a4a02a2a332 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Wed, 13 Dec 2000 16:29:09 +0000 Subject: Handle fork and vfork on a per architecture basis... --- include/unistd.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'include/unistd.h') diff --git a/include/unistd.h b/include/unistd.h index ebba54f8d..1ccd29480 100644 --- a/include/unistd.h +++ b/include/unistd.h @@ -646,8 +646,11 @@ extern int setegid __P ((__gid_t __gid)); /* Clone the calling process, creating an exact copy. Return -1 for errors, 0 to the new process, and the process ID of the new process to the old process. */ -extern __pid_t __fork __P ((void)); +#ifdef __HAS_NO_MMU__ +#define fork fork_not_available_on_mmuless_systems +#else extern __pid_t fork __P ((void)); +#endif #if defined __USE_BSD || defined __USE_XOPEN_EXTENDED /* Clone the calling process, but without copying the whole address space. -- cgit v1.2.3