diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-11 07:04:23 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2007-04-11 07:04:23 +0000 |
commit | 473dae080a8a0089d5d619a56d8943d131aa451e (patch) | |
tree | 29763aae84d2c9336d9f34a5dc02c024285af60e /applets | |
parent | f1a7141cfcacf606ae321faa58c45617045460fe (diff) | |
download | busybox-w32-473dae080a8a0089d5d619a56d8943d131aa451e.tar.gz busybox-w32-473dae080a8a0089d5d619a56d8943d131aa451e.tar.bz2 busybox-w32-473dae080a8a0089d5d619a56d8943d131aa451e.zip |
add more convenient defines for [NO]MMU:
"#ifndef BB_NOMMU" is a double negative
Diffstat (limited to 'applets')
-rw-r--r-- | applets/applets.c | 4 |
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; | |||
51 | 51 | ||
52 | const struct bb_applet *current_applet; | 52 | const struct bb_applet *current_applet; |
53 | const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; | 53 | const char *applet_name ATTRIBUTE_EXTERNALLY_VISIBLE; |
54 | #ifdef BB_NOMMU | 54 | #if !BB_MMU |
55 | bool re_execed; | 55 | bool re_execed; |
56 | #endif | 56 | #endif |
57 | 57 | ||
@@ -612,7 +612,7 @@ int main(int argc, char **argv) | |||
612 | { | 612 | { |
613 | const char *s; | 613 | const char *s; |
614 | 614 | ||
615 | #ifdef BB_NOMMU | 615 | #if !BB_MMU |
616 | /* NOMMU re-exec trick sets high-order bit in first byte of name */ | 616 | /* NOMMU re-exec trick sets high-order bit in first byte of name */ |
617 | if (argv[0][0] & 0x80) { | 617 | if (argv[0][0] & 0x80) { |
618 | re_execed = 1; | 618 | re_execed = 1; |