sevlyar / go-daemon

A library for writing system daemons in golang.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

build failed on freebsd

def opened this issue · comments

github.com/sevlyar/go-daemon/lock_file_unix.go:32: undefined: syscall.PathMax

syscall.PathMax is defined only for linux, nacl and solaris

You are right about FreeBSD, my bad. But are you sure about Darwin? Could you recheck?

You are right, on darwin build passes without problems.