diff --git a/cmd/siginfo_darwin.go b/cmd/siginfo_bsd.go similarity index 75% rename from cmd/siginfo_darwin.go rename to cmd/siginfo_bsd.go index 62e403277..fc4063913 100644 --- a/cmd/siginfo_darwin.go +++ b/cmd/siginfo_bsd.go @@ -1,5 +1,5 @@ -//go:build darwin -// +build darwin +//go:build darwin || freebsd || netbsd || dragonfly || openbsd +// +build darwin freebsd netbsd dragonfly openbsd package cmd diff --git a/cmd/siginfo_others.go b/cmd/siginfo_others.go index a2266f632..680dba1b5 100644 --- a/cmd/siginfo_others.go +++ b/cmd/siginfo_others.go @@ -1,5 +1,5 @@ -//go:build !darwin -// +build !darwin +//go:build !darwin && !freebsd && !netbsd && !dragonfly && !openbsd +// +build !darwin,!freebsd,!netbsd,!dragonfly,!openbsd package cmd