summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--koch.nim2
-rw-r--r--lib/pure/os.nim1
2 files changed, 2 insertions, 1 deletions
diff --git a/koch.nim b/koch.nim
index 9d59344f2..79acc7791 100644
--- a/koch.nim
+++ b/koch.nim
@@ -299,7 +299,7 @@ of cmdArgument:
   of "boot": boot(op.cmdLineRest)
   of "clean": clean(op.cmdLineRest)
   of "web": web(op.cmdLineRest)
-  of "csource": csource(op.cmdLineRest)
+  of "csource", "csources": csource(op.cmdLineRest)
   of "zip": zip(op.cmdLineRest)
   of "inno": inno(op.cmdLineRest)
   of "install": install(op.cmdLineRest)
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