mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-08-21 22:56:55 +00:00
* mount: keep the xattr flag constants off freebsd x/sys/unix has no XATTR_CREATE or XATTR_REPLACE there, and weedfs_xattr.go is already tagged away from freebsd for that reason. Putting them in a !windows file dragged them back in, so master stopped building for freebsd. * ci: cross-compile freebsd and darwin too The windows-only check missed a freebsd break in the very file it was added to guard, because nothing else on a pull request compiles them.
13 lines
182 B
Go
13 lines
182 B
Go
//go:build !windows
|
|
|
|
package mount
|
|
|
|
import "syscall"
|
|
|
|
const (
|
|
f_RDLCK = syscall.F_RDLCK
|
|
f_WRLCK = syscall.F_WRLCK
|
|
f_UNLCK = syscall.F_UNLCK
|
|
o_ACCMODE = syscall.O_ACCMODE
|
|
)
|