osproc: MacOSX fix - if -> when
This commit is contained in:
parent
30a3098095
commit
7314f11adc
1 changed files with 1 additions and 1 deletions
|
|
@ -747,7 +747,7 @@ elif not defined(useNimRtl):
|
||||||
var pid: TPid
|
var pid: TPid
|
||||||
var dataCopy = data
|
var dataCopy = data
|
||||||
|
|
||||||
if defined(useClone):
|
when defined(useClone):
|
||||||
const stackSize = 65536
|
const stackSize = 65536
|
||||||
let stackEnd = cast[clong](alloc(stackSize))
|
let stackEnd = cast[clong](alloc(stackSize))
|
||||||
let stack = cast[pointer](stackEnd + stackSize)
|
let stack = cast[pointer](stackEnd + stackSize)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue