Resolve bugs
This commit is contained in:
parent
b27ee842d4
commit
d4f3db3bd0
1 changed files with 2 additions and 2 deletions
|
|
@ -970,7 +970,7 @@ elif not defined(useNimRtl):
|
|||
|
||||
when defined(macosx) or defined(freebsd) or defined(netbsd) or
|
||||
defined(openbsd):
|
||||
import kqueue
|
||||
import kqueue, times
|
||||
|
||||
proc waitForExit(p: Process, timeout: int = -1): int =
|
||||
if p.exitCode != -3: return p.exitCode
|
||||
|
|
@ -1025,7 +1025,7 @@ elif not defined(useNimRtl):
|
|||
result = int(p.exitCode) shr 8
|
||||
else:
|
||||
import times
|
||||
|
||||
|
||||
const
|
||||
hasThreadSupport = compileOption("threads") and not defined(nimscript)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue