Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.busybox.net/busybox.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-04-11 11:04:23 +0400
committerDenis Vlasenko <vda.linux@googlemail.com>2007-04-11 11:04:23 +0400
commit473dae080a8a0089d5d619a56d8943d131aa451e (patch)
tree29763aae84d2c9336d9f34a5dc02c024285af60e /applets
parentf1a7141cfcacf606ae321faa58c45617045460fe (diff)
add more convenient defines for [NO]MMU:
"#ifndef BB_NOMMU" is a double negative
Diffstat (limited to 'applets')
-rw-r--r--applets/applets.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/applets/applets.c b/applets/applets.c
index 56e0d2ccc..6f38ccee8 100644
--- a/applets/applets.c
+++ b/applets/applets.c
@@ -51,7 +51,7 @@ const unsigned short NUM_APPLETS = sizeof(applets) / sizeof(applets[0]) - 1;
const struct bb_applet *current_applet;
const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE;
-#ifdef BB_NOMMU
+#if !BB_MMU
bool re_execed;
#endif
@@ -612,7 +612,7 @@ int main(int argc, char **argv)
{
const char *s;
-#ifdef BB_NOMMU
+#if !BB_MMU
/* NOMMU re-exec trick sets high-order bit in first byte of name */
if (argv[0][0] & 0x80) {
re_execed = 1;