include/console.h: Use _STATIC_ASSERT for C++ compatibility
BRANCH=none
TEST=./util/compare_build.sh -b all -j 120
=> MATCH
@@ -256,7 +256,7 @@ void console_has_input(void);
#define _DCL_CON_CMD_ALL(NAME, ROUTINE, ARGDESC, HELP, FLAGS) \
static int (ROUTINE)(int argc, char **argv); \
static const char __con_cmd_label_##NAME[] = #NAME; \
- _Static_assert(sizeof(__con_cmd_label_##NAME) < 16, \
+ _STATIC_ASSERT(sizeof(__con_cmd_label_##NAME) < 16, \
"command name '" #NAME "' is too long"); \
const struct console_command __keep __no_sanitize_address \
__con_cmd_##NAME \
