attempt to getAppFilename to work on NetBSD
This commit is contained in:
parent
58a66a0d70
commit
d962b75c18
1 changed files with 1 additions and 1 deletions
|
|
@ -1380,7 +1380,7 @@ proc getAppFilename*(): string {.rtl, extern: "nos$1".} =
|
||||||
result = getApplAux("/proc/self/exe")
|
result = getApplAux("/proc/self/exe")
|
||||||
elif defined(solaris):
|
elif defined(solaris):
|
||||||
result = getApplAux("/proc/" & $getpid() & "/path/a.out")
|
result = getApplAux("/proc/" & $getpid() & "/path/a.out")
|
||||||
elif defined(bsd):
|
elif defined(freebsd):
|
||||||
result = getApplAux("/proc/" & $getpid() & "/file")
|
result = getApplAux("/proc/" & $getpid() & "/file")
|
||||||
elif defined(macosx):
|
elif defined(macosx):
|
||||||
var size: cuint32
|
var size: cuint32
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue