1
0
Эх сурвалжийг харах

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

kurisaw 2 сар өмнө
parent
commit
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