summaryrefslogtreecommitdiff
path: root/libc/stdio/popen.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-07-31 04:38:58 +0000
committerEric Andersen <andersen@codepoet.org>2002-07-31 04:38:58 +0000
commitb93d7f3e928c6dd153838dd88375ed39cd311a2a (patch)
treefff30051e77f4333d8af72cef33a651a218a939b /libc/stdio/popen.c
parent4ea7a1129a0ab3f1efe2fffd22693b48982703b5 (diff)
Per discussion on the mailing list, simply vfork -> fork mapping to only apply
iff we do not have vfork available, which is simpler and more reasonable. -Erik
Diffstat (limited to 'libc/stdio/popen.c')
-rw-r--r--libc/stdio/popen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/popen.c b/libc/stdio/popen.c
index a77a82e66..ddf881899 100644
--- a/libc/stdio/popen.c
+++ b/libc/stdio/popen.c
@@ -14,7 +14,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