From d452f502c392cc002158059599b6b69bc7354b21 Mon Sep 17 00:00:00 2001 From: x3-apptech <66947598+x3-apptech@users.noreply.github.com> Date: Mon, 7 Nov 2022 19:45:04 +0800 Subject: [PATCH] cmd: Enable SIGINFO (Ctrl-T) handler on FreeBSD, NetBSD, OpenBSD and Dragonfly BSD --- cmd/{siginfo_darwin.go => siginfo_bsd.go} | 4 ++-- cmd/siginfo_others.go | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) rename cmd/{siginfo_darwin.go => siginfo_bsd.go} (75%) 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