summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuqiang Wang <[email protected]>2024-03-20 20:21:17 +0800
committerRbb666 <[email protected]>2024-03-20 22:43:55 +0800
commitc0e632e56feecd6f24e5096147c83973d4d6b6f0 (patch)
tree9e5d5aafab78a192607b74b997feed17af48b1d2
parent9d4b20c0fa3ae69f7dc1c16be7506949bf7f53b4 (diff)
Fixed an issue in mdk where macro definitions are not supported in the C99 specification
-rw-r--r--include/rtcompiler.h2
1 files changed, 1 insertions, 1 deletions
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