syscall: remove Sendfile on NetBSD

NetBSD does not support the sendfile syscall.

Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/263521
This commit is contained in:
Nikhil Benesch 2020-10-19 02:19:04 +00:00 committed by Ian Lance Taylor
parent 6267bb7a11
commit 522307281c
3 changed files with 4 additions and 4 deletions

View file

@ -1,4 +1,4 @@
3b6252d2d3ce559826303dac07538da6e78940d8
6662382a279dd5a5f99307e9b609654717638b24
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd solaris,amd64 solaris,sparc64
// +build darwin dragonfly freebsd openbsd solaris,amd64 solaris,sparc64
package syscall

View file

@ -2,9 +2,9 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build darwin dragonfly freebsd netbsd openbsd solaris
// +build darwin dragonfly freebsd openbsd solaris
// BSD library calls.
// BSD sendfile support.
package syscall