summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorDenis Vlasenko2008-01-08 20:32:12 +0000
committerDenis Vlasenko2008-01-08 20:32:12 +0000
commitd2c450ce811454fb77679d049538530d2cf54dd8 (patch)
tree319d23806c17472026e0a946d6ae320f513e34c0 /include
parent474d1c57c834ee3dee6de49f109c9b570236fa60 (diff)
downloadbusybox-d2c450ce811454fb77679d049538530d2cf54dd8.zip
busybox-d2c450ce811454fb77679d049538530d2cf54dd8.tar.gz
hush: report [v]fork failures
hush: more correct handling of piping config: add CONFIG_NOMMU
Diffstat (limited to 'include')
-rw-r--r--include/platform.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h
index edb0f8a..4c38c6a 100644
--- a/include/platform.h
+++ b/include/platform.h
@@ -231,8 +231,9 @@ typedef unsigned smalluint;
* for a mmu-less system; the user should pass EXTRA_CFLAGS="-DBB_NOMMU"
* on his own.
*/
-#if defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \
- __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__
+#if ENABLE_NOMMU || \
+ (defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \
+ __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__)
#define BB_MMU 0
#define BB_NOMMU 1
#define USE_FOR_NOMMU(...) __VA_ARGS__