4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-02-21 22:15:34 +08:00

fix: fixed an issue where rt_typeof was not supported in the MDK toolchain

This commit is contained in:
kurisaw 2025-02-19 17:37:55 +08:00 committed by Meco Man
parent f8171f5c0b
commit ea31985b32

View File

@ -22,7 +22,7 @@
#define rt_packed(declare) declare
#endif
#define rt_weak __attribute__((weak))
#define rt_typeof typeof
#define rt_typeof __typeof
#define rt_noreturn
#define rt_inline static __inline
#define rt_always_inline rt_inline