newlib fixe from Shaun Jackman
authorMike Frysinger <vapier@gentoo.org>
Fri, 4 Mar 2005 01:09:43 +0000 (01:09 -0000)
committerMike Frysinger <vapier@gentoo.org>
Fri, 4 Mar 2005 01:09:43 +0000 (01:09 -0000)
include/busybox.h

index f6f5759..3ff3d8a 100644 (file)
 #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