summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2006-12-11 04:09:06 +0000
committerMike Frysinger <vapier@gentoo.org>2006-12-11 04:09:06 +0000
commitf527c08815385d2f20c50b35123095fe6b4bd682 (patch)
tree61649dba63b25d486747ad192414f511eb1affb7 /libc/sysdeps/linux/common
parent62ed67488ccdaf0b37ba7fe2b29f9bf55a96f266 (diff)
dont try and compile if the MMU is disabled
Diffstat (limited to 'libc/sysdeps/linux/common')
-rw-r--r--libc/sysdeps/linux/common/vfork.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/common/vfork.c b/libc/sysdeps/linux/common/vfork.c
index 2b043d293..f9634cd5c 100644
--- a/libc/sysdeps/linux/common/vfork.c
+++ b/libc/sysdeps/linux/common/vfork.c
@@ -9,6 +9,8 @@
#include <sys/types.h>
#include <sys/syscall.h>
+#ifdef __ARCH_USE_MMU__
+
#ifdef __NR_fork
libc_hidden_proto(fork)
@@ -21,3 +23,5 @@ libc_hidden_proto(vfork)
weak_alias(__vfork,vfork)
libc_hidden_weak(vfork)
#endif
+
+#endif