diff --git a/include/toolchain/gcc.h b/include/toolchain/gcc.h index 65ebbc08900..73298225ff3 100644 --- a/include/toolchain/gcc.h +++ b/include/toolchain/gcc.h @@ -165,6 +165,9 @@ do { \ __attribute__((long_call, section(".ramfunc"))) #endif /* !CONFIG_XIP */ +#ifndef __fallthrough +#define __fallthrough __attribute__((fallthrough)) +#endif #ifndef __packed #define __packed __attribute__((__packed__)) #endif