diff options
author | Araq <rumpf_a@web.de> | 2014-04-23 00:06:56 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-04-23 00:06:56 +0200 |
commit | 5aa8278f6c4a3c211dd2e76c3c828a68c55ee28d (patch) | |
tree | fa2c16c3880d96b72c6efe02568859387fe7c683 /lib | |
parent | e128f48ff684d67effe4b6b9ddc6eafaa16ed3b1 (diff) | |
download | Nim-5aa8278f6c4a3c211dd2e76c3c828a68c55ee28d.tar.gz |
Haiku build works again
Diffstat (limited to 'lib')
-rw-r--r-- | lib/pure/os.nim | 1 |
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 |