Commit 34db31d5 authored by Tim Cooijmans's avatar Tim Cooijmans Committed by Hyang-Ah Hana Kim

src/runtime: Add missing defs for android/386.

Change-Id: I63bf6d2fdf41b49ff8783052d5d6c53b20e2f050
Reviewed-on: https://go-review.googlesource.com/13760Reviewed-by: default avatarDavid Crawshaw <crawshaw@golang.org>
Reviewed-by: default avatarHyang-Ah Hana Kim <hyangah@gmail.com>
parent 7437e3f0
...@@ -90,6 +90,10 @@ const ( ...@@ -90,6 +90,10 @@ const (
_EPOLL_CTL_ADD = 0x1 _EPOLL_CTL_ADD = 0x1
_EPOLL_CTL_DEL = 0x2 _EPOLL_CTL_DEL = 0x2
_EPOLL_CTL_MOD = 0x3 _EPOLL_CTL_MOD = 0x3
_AF_UNIX = 0x1
_F_SETFL = 0x4
_SOCK_DGRAM = 0x2
) )
type fpreg struct { type fpreg struct {
...@@ -218,3 +222,8 @@ type epollevent struct { ...@@ -218,3 +222,8 @@ type epollevent struct {
events uint32 events uint32
data [8]byte // to match amd64 data [8]byte // to match amd64
} }
type sockaddr_un struct {
family uint16
path [108]byte
}
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