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
|
when defined(macosx) or defined(freebsd) or defined(netbsd) or
|
||||||
defined(openbsd):
|
defined(openbsd):
|
||||||
import kqueue
|
import kqueue, times
|
||||||
|
|
||||||
proc waitForExit(p: Process, timeout: int = -1): int =
|
proc waitForExit(p: Process, timeout: int = -1): int =
|
||||||
if p.exitCode != -3: return p.exitCode
|
if p.exitCode != -3: return p.exitCode
|
||||||
|
|
@ -1025,7 +1025,7 @@ elif not defined(useNimRtl):
|
||||||
result = int(p.exitCode) shr 8
|
result = int(p.exitCode) shr 8
|
||||||
else:
|
else:
|
||||||
import times
|
import times
|
||||||
|
|
||||||
const
|
const
|
||||||
hasThreadSupport = compileOption("threads") and not defined(nimscript)
|
hasThreadSupport = compileOption("threads") and not defined(nimscript)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue