fix printf warning
[oweals/busybox.git] / include / busybox.h
index ba4edcabaf9d7d7e33a602955e23d771376c2e59..3ff3d8a37ac0f005a3ba32cfb3dc3c6ae52ff584 100644 (file)
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  *
- * Based in part on code from sash, Copyright (c) 1999 by David I. Bell 
+ * Based in part on code from sash, Copyright (c) 1999 by David I. Bell
  * Permission has been granted to redistribute this code under the GPL.
  *
  */
 #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
@@ -81,7 +81,7 @@ extern const struct BB_applet applets[];
  * applet usage strings.  These are all of the form:
  *             extern int foo_main(int argc, char **argv);
  *             extern const char foo_usage[];
- * These are all autogenerated from the set of currently defined applets. 
+ * These are all autogenerated from the set of currently defined applets.
  */
 #define PROTOTYPES
 #include "applets.h"