diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/platform.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/platform.h b/include/platform.h index edb0f8ab0..4c38c6ae4 100644 --- a/include/platform.h +++ b/include/platform.h | |||
@@ -231,8 +231,9 @@ typedef unsigned smalluint; | |||
231 | * for a mmu-less system; the user should pass EXTRA_CFLAGS="-DBB_NOMMU" | 231 | * for a mmu-less system; the user should pass EXTRA_CFLAGS="-DBB_NOMMU" |
232 | * on his own. | 232 | * on his own. |
233 | */ | 233 | */ |
234 | #if defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \ | 234 | #if ENABLE_NOMMU || \ |
235 | __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__ | 235 | (defined __UCLIBC__ && __UCLIBC_MAJOR__ >= 0 && __UCLIBC_MINOR__ >= 9 && \ |
236 | __UCLIBC_SUBLEVEL__ > 28 && !defined __ARCH_USE_MMU__) | ||
236 | #define BB_MMU 0 | 237 | #define BB_MMU 0 |
237 | #define BB_NOMMU 1 | 238 | #define BB_NOMMU 1 |
238 | #define USE_FOR_NOMMU(...) __VA_ARGS__ | 239 | #define USE_FOR_NOMMU(...) __VA_ARGS__ |