mirror of
https://github.com/ziglang/zig.git
synced 2026-02-15 13:58:27 +00:00
os.linux.timeval: use same field names as std.c
Otherwise, the field names in std.posix.timeval vary by target os. I think this was an accidental change during the work of #25610
This commit is contained in:
parent
798f6b85e3
commit
d18f1dde41
@ -8429,8 +8429,8 @@ pub const POSIX_FADV = switch (native_arch) {
|
||||
};
|
||||
|
||||
pub const timeval = extern struct {
|
||||
tv_sec: isize,
|
||||
tv_usec: i64,
|
||||
sec: isize,
|
||||
usec: i64,
|
||||
};
|
||||
|
||||
pub const timezone = extern struct {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user