diff options
Diffstat (limited to 'include/unistd.h')
-rw-r--r-- | include/unistd.h | 5 |
1 files changed, 4 insertions, 1 deletions
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. |