Haiku build works again

This commit is contained in:
Araq
2014-04-23 00:06:56 +02:00
parent e128f48ff6
commit 5aa8278f6c
2 changed files with 2 additions and 1 deletions

View File

@@ -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)

View File

@@ -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