Change type of Timeval.tv_sec to posix.Time (#7646)
This commit is contained in:
parent
b9cafe5752
commit
fdf1d12380
9 changed files with 28 additions and 15 deletions
|
|
@ -1289,7 +1289,7 @@ elif not defined(useNimRtl):
|
|||
|
||||
proc select(readfds: var seq[Process], timeout = 500): int =
|
||||
var tv: Timeval
|
||||
tv.tv_sec = 0
|
||||
tv.tv_sec = posix.Time(0)
|
||||
tv.tv_usec = timeout * 1000
|
||||
|
||||
var rd: TFdSet
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue