mirror of
https://github.com/ziglang/zig.git
synced 2026-02-13 04:48:20 +00:00
Fix linux dirent64 buffer align directive
This commit is contained in:
parent
9c07d30ef5
commit
5dd6f9616e
@ -501,7 +501,7 @@ pub const Dir = struct {
|
||||
},
|
||||
.linux => struct {
|
||||
dir: Dir,
|
||||
buf: [8192]u8, // TODO align(@alignOf(os.dirent64)),
|
||||
buf: [8192]u8 align(if (builtin.os.tag != .linux) 1 else @alignOf(os.linux.dirent64)),
|
||||
index: usize,
|
||||
end_index: usize,
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user