Fix Timeval for darwin and linux
This commit is contained in:
1 parent
21c1618d94
commit
fed0c2ea26
4 files changed
+11
-11
No files matched your search
@@ -241,7 +241,7 @@ socklen_t :: c.int
|
||||
|
||||
Timeval :: struct {
|
||||
seconds: i64,
|
||||
nanoseconds: int,
|
||||
microseconds: int,
|
||||
}
|
||||
|
||||
// "Argv" arguments converted to Odin strings
|
||||
@@ -1086,4 +1086,4 @@ fcntl :: proc(fd: int, cmd: int, arg: int) -> (int, Errno) {
|
||||
return 0, _get_errno(result)
|
||||
}
|
||||
return result, ERROR_NONE
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user