Skip to content

Commit

Permalink
std/os/bits/windows: add timeval extern struct
Browse files Browse the repository at this point in the history
  • Loading branch information
lithdew committed May 3, 2021
1 parent 16fc1b9 commit 96fe49e
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/std/os/bits/windows.zig
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ pub const timespec = extern struct {
tv_nsec: c_long,
};

pub const timeval = extern struct {
tv_sec: c_long,
tv_usec: c_long,
};

pub const sig_atomic_t = c_int;

/// maximum signal number + 1
Expand Down

0 comments on commit 96fe49e

Please sign in to comment.