Update dependencies

This commit is contained in:
Ken-Håvard Lieng 2018-12-31 02:20:22 +01:00
parent 95eff71e2e
commit 67e32661f1
91 changed files with 18205 additions and 4938 deletions

View file

@ -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))
}