summaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer2006-05-31 10:19:51 +0000
committerBernhard Reutner-Fischer2006-05-31 10:19:51 +0000
commitc418d482baf414ef3f08a95ab99da7091f358b89 (patch)
tree4bcf7032041b501464f38ff9715f98453bebcbaf /libbb
parent507cd755a44628ced60acfa568b402cdf2f5547b (diff)
downloadbusybox-c418d482baf414ef3f08a95ab99da7091f358b89.zip
busybox-c418d482baf414ef3f08a95ab99da7091f358b89.tar.gz
- s/defined(__uClinux__)/BB_NOMMU/
This needs a second pass to: + add bb_daemon(unsigned char no_chdir, unsigned char no_close, const char*flag) + eventually globally export argc and argv, so we don't need to pass it to bb_daemon().
Diffstat (limited to 'libbb')
-rw-r--r--libbb/vfork_daemon_rexec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbb/vfork_daemon_rexec.c b/libbb/vfork_daemon_rexec.c
index ffd9dc1..59a2287 100644
--- a/libbb/vfork_daemon_rexec.c
+++ b/libbb/vfork_daemon_rexec.c
@@ -22,7 +22,7 @@
#include "libbb.h"
-#if defined(__uClinux__)
+#ifdef BB_NOMMU
void vfork_daemon_rexec(int nochdir, int noclose,
int argc, char **argv, char *foreground_opt)
{
@@ -64,4 +64,4 @@ void vfork_daemon_rexec(int nochdir, int noclose,
exit(0);
}
}
-#endif /* uClinux */
+#endif /* BB_NOMMU */