mirror of
https://github.com/nim-lang/Nim.git
synced 2026-04-18 13:30:33 +00:00
yet attempt to fix realpath for BSD
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user