mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-04 20:17:42 +00:00
attempt to getAppFilename to work on NetBSD
This commit is contained in:
@@ -1380,7 +1380,7 @@ proc getAppFilename*(): string {.rtl, extern: "nos$1".} =
|
||||
result = getApplAux("/proc/self/exe")
|
||||
elif defined(solaris):
|
||||
result = getApplAux("/proc/" & $getpid() & "/path/a.out")
|
||||
elif defined(bsd):
|
||||
elif defined(freebsd):
|
||||
result = getApplAux("/proc/" & $getpid() & "/file")
|
||||
elif defined(macosx):
|
||||
var size: cuint32
|
||||
|
||||
Reference in New Issue
Block a user