yet attempt to fix realpath for BSD

This commit is contained in:
Araq
2012-04-07 00:44:00 +02:00
parent 1123252db5
commit e0e4e38272

View File

@@ -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: "<stdlib.h>".}: cint