Use correct build constraints for listen_*.go files (#750)

unix.SO_REUSEPORT isn't defined for solaris (or some other non-windows
platforms).

Fixes #747
This commit is contained in:
Tom Thorogood 2018-09-26 17:42:54 +09:30 committed by Miek Gieben
parent 5debfeec63
commit 94dab88533
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
// +build go1.11,!windows
// +build go1.11
// +build aix darwin dragonfly freebsd linux netbsd openbsd
package dns

View File

@ -1,4 +1,4 @@
// +build !go1.11 windows
// +build !go1.11 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
package dns