summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger2005-03-04 01:09:43 +0000
committerMike Frysinger2005-03-04 01:09:43 +0000
commitca1b6fc74568e5c272c2b526429fcded5c8bd663 (patch)
treef584ca24641e674c21755221a03c6fe6a6fbff82
parentdf7bfb433e23eac81ad0feb946d0a1e62be01d03 (diff)
downloadbusybox-ca1b6fc74568e5c272c2b526429fcded5c8bd663.zip
busybox-ca1b6fc74568e5c272c2b526429fcded5c8bd663.tar.gz
newlib fixe from Shaun Jackman
-rw-r--r--include/busybox.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/busybox.h b/include/busybox.h
index f6f5759..3ff3d8a 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -32,10 +32,10 @@
#include <sys/stat.h>
#include <sys/types.h>
-#if __GNU_LIBRARY__ < 5
-#ifndef __dietlibc__
-#error "Sorry, libc5 is not supported"
-#endif
+#if __GNU_LIBRARY__ < 5 && \
+ !defined(__dietlibc__) && \
+ !defined(_NEWLIB_VERSION)
+#error "Sorry, this libc version is not supported :("
#endif
#ifndef BB_EXTRA_VERSION