osproc: MacOSX fix - if -> when

This commit is contained in:
Michał Zieliński 2014-02-24 17:45:45 +01:00
commit 7314f11adc

View file

@ -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)