osproc: MacOSX fix - if -> when

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

View File

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