mirror of
https://github.com/golang/go
synced 2024-11-17 22:54:48 -07:00
internal/poll,net: support poll.Sendfile for darwin
darwin already supports syscall.Sendfile. Change-Id: Id3db06591ffad0550b4173bacddeb0acfe355f9e Reviewed-on: https://go-review.googlesource.com/c/go/+/355109 Reviewed-by: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor <iant@golang.org> TryBot-Result: Go Bot <gobot@golang.org> Trust: Alexander Rakoczy <alex@golang.org>
This commit is contained in:
parent
3986e5c8e7
commit
aded1679ef
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build dragonfly || freebsd
|
||||
// +build dragonfly freebsd
|
||||
//go:build darwin || dragonfly || freebsd
|
||||
// +build darwin dragonfly freebsd
|
||||
|
||||
package poll
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build aix || darwin || (js && wasm) || netbsd || openbsd
|
||||
// +build aix darwin js,wasm netbsd openbsd
|
||||
//go:build aix || (js && wasm) || netbsd || openbsd
|
||||
// +build aix js,wasm netbsd openbsd
|
||||
|
||||
package net
|
||||
|
||||
|
@ -2,8 +2,8 @@
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
//go:build dragonfly || freebsd || solaris
|
||||
// +build dragonfly freebsd solaris
|
||||
//go:build darwin || dragonfly || freebsd || solaris
|
||||
// +build darwin dragonfly freebsd solaris
|
||||
|
||||
package net
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user