std.c: use arch's ino_t and off_t for dirent
Fixes #23622. The integer types used for these fields before would not
work on some platforms.
1 files changed, 2 insertions(+), 2 deletions(-)
lib
std
lib/std/c.zig+2-2
| ... | ... | @@ -7000,8 +7000,8 @@ pub const RTLD = switch (native_os) { |
| 7000 | 7000 | |
| 7001 | 7001 | pub const dirent = switch (native_os) { |
| 7002 | 7002 | .linux, .emscripten => extern struct { |
| 7003 | | ino: c_uint, |
| 7004 | | off: c_uint, |
| 7003 | ino: ino_t, |
| 7004 | off: off_t, |
| 7005 | 7005 | reclen: c_ushort, |
| 7006 | 7006 | type: u8, |
| 7007 | 7007 | name: [256]u8, |