Skip to content

Commit ea31985

Browse files
kurisaWmysterywolf
authored andcommitted
fix: fixed an issue where rt_typeof was not supported in the MDK toolchain
1 parent f8171f5 commit ea31985

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/rtcompiler.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#define rt_packed(declare) declare
2323
#endif
2424
#define rt_weak __attribute__((weak))
25-
#define rt_typeof typeof
25+
#define rt_typeof __typeof
2626
#define rt_noreturn
2727
#define rt_inline static __inline
2828
#define rt_always_inline rt_inline

0 commit comments

Comments
 (0)