diff options
| author | kurisaw <[email protected]> | 2025-02-19 17:37:55 +0800 |
|---|---|---|
| committer | Meco Man <[email protected]> | 2025-02-19 20:24:59 -0500 |
| commit | ea31985b32c5b7a128adc55b0f4de7cca8ac41af (patch) | |
| tree | 46dc02fd7b4ba6087e1259e05a192abd9783eb27 /include | |
| parent | f8171f5c0ba1d520b8305c2a231b0ac79ab13a22 (diff) | |
fix: fixed an issue where rt_typeof was not supported in the MDK toolchain
Diffstat (limited to 'include')
| -rw-r--r-- | include/rtcompiler.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/rtcompiler.h b/include/rtcompiler.h index 121f084ae9..012c85cb60 100644 --- a/include/rtcompiler.h +++ b/include/rtcompiler.h @@ -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 |
