From c0e632e56feecd6f24e5096147c83973d4d6b6f0 Mon Sep 17 00:00:00 2001 From: Yuqiang Wang Date: Wed, 20 Mar 2024 20:21:17 +0800 Subject: [PATCH] Fixed an issue in mdk where macro definitions are not supported in the C99 specification --- include/rtcompiler.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/rtcompiler.h b/include/rtcompiler.h index 5084ab0065..bf1da29c2f 100644 --- a/include/rtcompiler.h +++ b/include/rtcompiler.h @@ -27,7 +27,7 @@ #define PRAGMA(x) _Pragma(#x) #define rt_align(n) PRAGMA(data_alignment=n) #define rt_weak __weak -#define rt_typeof typeof +#define rt_typeof __typeof #define rt_noreturn #define rt_inline static inline #define rt_always_inline rt_inline