summary refs log tree commit diff stats
path: root/lib/pure
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-02-14 22:37:36 +0100
committerAraq <rumpf_a@web.de>2014-02-14 22:37:36 +0100
commitcf544f6a850e2d3cf4ffe9640a57ada7aaa502dc (patch)
tree0cd958b4ce1fb9396ae9443033b25f6365e293c0 /lib/pure
parentf95a8df243354767dc4fc7f907d5a5b26566b58d (diff)
downloadNim-cf544f6a850e2d3cf4ffe9640a57ada7aaa502dc.tar.gz
fixes #811
Diffstat (limited to 'lib/pure')
-rw-r--r--lib/pure/osproc.nim2
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)