소스 검색

Fixed an issue in mdk where macro definitions are not supported in the C99 specification

Yuqiang Wang 1 년 전
부모
커밋
c0e632e56f
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/rtcompiler.h

+ 1 - 1
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