Commit 566f5980 authored by Russ Cox's avatar Russ Cox

fix build - nacl stubs

TBR=nigeltao
CC=golang-dev
https://golang.org/cl/1259042
parent 8c2bc441
......@@ -241,6 +241,7 @@ const (
IPPROTO_TCP
SOCK_DGRAM
SOCK_STREAM
SOCK_RAW
SOL_SOCKET
SOMAXCONN
SO_DONTROUTE
......@@ -271,6 +272,8 @@ func Getpeername(fd int) (sa Sockaddr, errno int) {
func Bind(fd int, sa Sockaddr) (errno int) { return ENACL }
func BindToDevice(fd int, device string) (errno int) { return ENACL }
func Connect(fd int, sa Sockaddr) (errno int) { return ENACL }
func Socket(domain, typ, proto int) (fd, errno int) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment