Pārlūkot izejas kodu

[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)

解决了gd32470z-lckfb libc_dirent结构体报错的bug
godmial 7 mēneši atpakaļ
vecāks
revīzija
24cf724899
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      components/libc/compilers/common/include/dirent.h

+ 2 - 0
components/libc/compilers/common/include/dirent.h

@@ -69,7 +69,9 @@ struct dirent
 typedef uint64_t ino_t;
 #endif
 struct libc_dirent {
+#ifdef RT_USING_MUSLLIBC
     ino_t d_ino;
+#endif
     off_t d_off;
     unsigned short d_reclen;
     unsigned char d_type;