소스 검색

fix: fixed an issue where rt_typeof was not supported in the MDK toolchain

kurisaw 2 달 전
부모
커밋
ea31985b32
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      include/rtcompiler.h

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