Skip to content

Commit 24cf724

Browse files
authored
[include] RT_USING_MUSLLIBC结构体报错的bug (#9834)
解决了gd32470z-lckfb libc_dirent结构体报错的bug
1 parent 825e87d commit 24cf724

File tree

1 file changed

+2
-0
lines changed
  • components/libc/compilers/common/include

1 file changed

+2
-0
lines changed

Diff for: components/libc/compilers/common/include/dirent.h

+2
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,9 @@ struct dirent
6969
typedef uint64_t ino_t;
7070
#endif
7171
struct libc_dirent {
72+
#ifdef RT_USING_MUSLLIBC
7273
ino_t d_ino;
74+
#endif
7375
off_t d_off;
7476
unsigned short d_reclen;
7577
unsigned char d_type;

0 commit comments

Comments
 (0)