mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 21:40:32 +00:00
osproc: MacOSX fix - if -> when
This commit is contained in:
@@ -747,7 +747,7 @@ elif not defined(useNimRtl):
|
||||
var pid: TPid
|
||||
var dataCopy = data
|
||||
|
||||
if defined(useClone):
|
||||
when defined(useClone):
|
||||
const stackSize = 65536
|
||||
let stackEnd = cast[clong](alloc(stackSize))
|
||||
let stack = cast[pointer](stackEnd + stackSize)
|
||||
|
||||
Reference in New Issue
Block a user