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:
parent
5debfeec63
commit
94dab88533
|
@ -1,4 +1,5 @@
|
|||
// +build go1.11,!windows
|
||||
// +build go1.11
|
||||
// +build aix darwin dragonfly freebsd linux netbsd openbsd
|
||||
|
||||
package dns
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !go1.11 windows
|
||||
// +build !go1.11 !aix,!darwin,!dragonfly,!freebsd,!linux,!netbsd,!openbsd
|
||||
|
||||
package dns
|
||||
|
||||
|
|
Loading…
Reference in New Issue