Update dependencies
This commit is contained in:
parent
95eff71e2e
commit
67e32661f1
91 changed files with 18205 additions and 4938 deletions
8
vendor/golang.org/x/net/internal/socket/sys_bsdvar.go
generated
vendored
8
vendor/golang.org/x/net/internal/socket/sys_bsdvar.go
generated
vendored
|
@ -6,9 +6,15 @@
|
|||
|
||||
package socket
|
||||
|
||||
import "unsafe"
|
||||
import (
|
||||
"runtime"
|
||||
"unsafe"
|
||||
)
|
||||
|
||||
func probeProtocolStack() int {
|
||||
if runtime.GOOS == "openbsd" && runtime.GOARCH == "arm" {
|
||||
return 8
|
||||
}
|
||||
var p uintptr
|
||||
return int(unsafe.Sizeof(p))
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue