diff options
| author | Alex Cohn <[email protected]> | 2022-06-10 12:05:13 -0500 |
|---|---|---|
| committer | Alex Cohn <[email protected]> | 2022-06-10 12:05:13 -0500 |
| commit | 6ebd8335514bd3739cce1fdb1145712dfeda5f4c (patch) | |
| tree | fc270d7784263828b98fc70c8984950fb39a72d4 /extendedstats/other.go | |
| parent | 6e66fb3d19b37c073faf6148f0a5a155128a93a1 (diff) | |
Disable extendedstats on darwin
The Darwin golang.org/x/sys/unix package does not contain a TCPInfo
struct, which causes the project not to compile on macOS systems.
Diffstat (limited to 'extendedstats/other.go')
| -rw-r--r-- | extendedstats/other.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/extendedstats/other.go b/extendedstats/other.go index d720384..825ea95 100644 --- a/extendedstats/other.go +++ b/extendedstats/other.go @@ -1,5 +1,5 @@ -//go:build !darwin && !dragonfly && !freebsd && !linux && !netbsd && !openbsd -// +build !darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd +//go:build !dragonfly && !freebsd && !linux && !netbsd && !openbsd +// +build !dragonfly,!freebsd,!linux,!netbsd,!openbsd package extendedstats |
