summary refs log tree commit diff stats
path: root/lib/pure/os.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2014-04-23 00:06:56 +0200
committerAraq <rumpf_a@web.de>2014-04-23 00:06:56 +0200
commit5aa8278f6c4a3c211dd2e76c3c828a68c55ee28d (patch)
treefa2c16c3880d96b72c6efe02568859387fe7c683 /lib/pure/os.nim
parente128f48ff684d67effe4b6b9ddc6eafaa16ed3b1 (diff)
downloadNim-5aa8278f6c4a3c211dd2e76c3c828a68c55ee28d.tar.gz
Haiku build works again
Diffstat (limited to 'lib/pure/os.nim')
-rw-r--r--lib/pure/os.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index 3cb1482b7..649dcd2d4 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -1612,6 +1612,7 @@ when defined(linux) or defined(solaris) or defined(bsd) or defined(aix):
       len = readlink(procPath, result, len)
     setLen(result, len)
 
+when not (defined(windows) or defined(macosx)):
   proc getApplHeuristic(): string =
     result = string(paramStr(0))
     # POSIX guaranties that this contains the executable