id: abort the build of uclibc is less than 0.9.30

This commit is contained in:
Denis Vlasenko 2008-11-16 15:03:11 +00:00
parent e88bd2d931
commit 5ff1265691

View File

@ -17,6 +17,12 @@
#include "libbb.h" #include "libbb.h"
#if defined(__UCLIBC_MAJOR__) && (__UCLIBC_MAJOR__ == 0)
#if (__UCLIBC_MINOR__ < 9) || (__UCLIBC_MINOR__ == 9 && __UCLIBC_SUBLEVEL__ < 30)
#error "Sorry, you need at least uClibc version 0.9.30 for id applet to build"
#endif
#endif
enum { enum {
PRINT_REAL = (1 << 0), PRINT_REAL = (1 << 0),
NAME_NOT_NUMBER = (1 << 1), NAME_NOT_NUMBER = (1 << 1),