summaryrefslogtreecommitdiff
path: root/libc/stdlib
diff options
context:
space:
mode:
Diffstat (limited to 'libc/stdlib')
-rw-r--r--libc/stdlib/system.c2
-rw-r--r--libc/stdlib/unix_grantpt.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libc/stdlib/system.c b/libc/stdlib/system.c
index 8f654045e..b15d601aa 100644
--- a/libc/stdlib/system.c
+++ b/libc/stdlib/system.c
@@ -6,7 +6,7 @@
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
-#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__
+#if ! defined __NR_vfork
#define vfork fork
#endif
diff --git a/libc/stdlib/unix_grantpt.c b/libc/stdlib/unix_grantpt.c
index c29612e81..49e65d16d 100644
--- a/libc/stdlib/unix_grantpt.c
+++ b/libc/stdlib/unix_grantpt.c
@@ -33,7 +33,7 @@
/* uClinux-2.0 has vfork, but Linux 2.0 doesn't */
#include <sys/syscall.h>
-#if ! defined __NR_vfork && defined __UCLIBC_HAS_MMU__
+#if ! defined __NR_vfork
#define vfork fork
#endif