summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2012-07-28 19:57:43 +0200
committerAraq <rumpf_a@web.de>2012-07-28 19:57:43 +0200
commitd962b75c183ed04612dc20919d94925f3eaa161b (patch)
tree72c46d62596a59525824d21e27e9ff5a5c5898f9 /lib
parent58a66a0d705e824b69ee7b355dbc8c304493afdd (diff)
downloadNim-d962b75c183ed04612dc20919d94925f3eaa161b.tar.gz
attempt to getAppFilename to work on NetBSD
Diffstat (limited to 'lib')
-rwxr-xr-xlib/pure/os.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index 19a2fc711..5ec46d6b7 100755
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -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