libbb: introduce kernel-style BUILD_BUG_ON()
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
@ -1901,6 +1901,7 @@ extern const char bb_default_login_shell[] ALIGN1;
|
||||
|
||||
|
||||
#define ARRAY_SIZE(x) ((unsigned)(sizeof(x) / sizeof((x)[0])))
|
||||
#define BUILD_BUG_ON(condition) ((void)sizeof(char[1 - 2*!!(condition)]))
|
||||
|
||||
|
||||
/* We redefine ctype macros. Unicode-correct handling of char types
|
||||
|
Reference in New Issue
Block a user