diff options
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 |