diff --git a/include/zephyr/toolchain/gcc.h b/include/zephyr/toolchain/gcc.h index b592eb021e2..8978f1ea51d 100644 --- a/include/zephyr/toolchain/gcc.h +++ b/include/zephyr/toolchain/gcc.h @@ -225,6 +225,10 @@ do { \ #define __aligned(x) __attribute__((__aligned__(x))) #endif +#ifndef __noinline +#define __noinline __attribute__((noinline)) +#endif + #define __may_alias __attribute__((__may_alias__)) #ifndef __printf_like