diff options
author | Araq <rumpf_a@web.de> | 2014-02-14 22:37:36 +0100 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-02-14 22:37:36 +0100 |
commit | cf544f6a850e2d3cf4ffe9640a57ada7aaa502dc (patch) | |
tree | 0cd958b4ce1fb9396ae9443033b25f6365e293c0 /lib/pure | |
parent | f95a8df243354767dc4fc7f907d5a5b26566b58d (diff) | |
download | Nim-cf544f6a850e2d3cf4ffe9640a57ada7aaa502dc.tar.gz |
fixes #811
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/osproc.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index e0689c4a6..9a43c0a7d 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -791,7 +791,7 @@ elif not defined(useNimRtl): proc csystem(cmd: cstring): cint {.nodecl, importc: "system".} proc execCmd(command: string): int = - when defined(linux) + when defined(linux): result = csystem(command) shr 8 else: result = csystem(command) |