diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-09-16 15:47:21 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2011-09-16 15:47:21 +0000 |
commit | adb0401dac41c81571722312d4586b2693f95aa6 (patch) | |
tree | ea2b52e3c258d6b6d9356977c683c7f72a4a5fd5 /libgo/syscalls/socket_irix.go | |
parent | 5548ca3540bccbc908a45942896d635ea5f1c23f (diff) | |
download | gcc-adb0401dac41c81571722312d4586b2693f95aa6.tar.gz |
Update Go library to r60.
From-SVN: r178910
Diffstat (limited to 'libgo/syscalls/socket_irix.go')
-rw-r--r-- | libgo/syscalls/socket_irix.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/syscalls/socket_irix.go b/libgo/syscalls/socket_irix.go index e17f1642897..6f2aaaff4d0 100644 --- a/libgo/syscalls/socket_irix.go +++ b/libgo/syscalls/socket_irix.go @@ -78,7 +78,7 @@ func BindToDevice(fd int, device string) (errno int) { // This could be enabled with -D_SGI_SOURCE, but conflicts with // -D_XOPEN_SOURCE=500 required for msg_control etc. in struct msghgr, so // simply provide it here. -type IpMreq struct { +type IPMreq struct { Multiaddr [4]byte Interface [4]byte } @@ -123,3 +123,7 @@ const ( EAI_OVERFLOW = 13 EAI_MAX = 14 ) + +func anyToSockaddrOS(rsa *RawSockaddrAny) (Sockaddr, int) { + return nil, EAFNOSUPPORT; +} |