aboutsummaryrefslogtreecommitdiff
path: root/src/net/cgo_unix_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/cgo_unix_test.go')
-rw-r--r--src/net/cgo_unix_test.go4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/cgo_unix_test.go b/src/net/cgo_unix_test.go
index 99d79a60c4..1f3d9ea207 100644
--- a/src/net/cgo_unix_test.go
+++ b/src/net/cgo_unix_test.go
@@ -2,7 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
-// +build cgo,!netgo
+//go:build cgo && !netgo && (aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || solaris)
+// +build cgo
+// +build !netgo
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
package net