From e0e4e382726f5e5d80a7e123eb0053a963b15552 Mon Sep 17 00:00:00 2001 From: Araq Date: Sat, 7 Apr 2012 00:44:00 +0200 Subject: [PATCH] yet attempt to fix realpath for BSD --- lib/pure/os.nim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 943caec7e..e4835faea 100755 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -151,7 +151,7 @@ else: # UNIX-like operating system ScriptExt* = "" DynlibFormat* = "lib$1.so" -when defined(macosx): +when defined(macosx) or defined(bsd): var pathMax {.importc: "PATH_MAX", header: "".}: cint