diff options
| author | Vladimir Stefanovic <vladimir.stefanovic@imgtec.com> | 2016-10-18 23:51:03 +0200 |
|---|---|---|
| committer | Brad Fitzpatrick <bradfitz@golang.org> | 2016-11-03 23:02:18 +0000 |
| commit | 58e3bf11fb8af887a97a7329edfffb1126ba5fee (patch) | |
| tree | 8d81c3d597f57c3b0c62f8871b52c36a9ba9d5c6 /src/syscall/types_linux.go | |
| parent | ad366fdbe40eea7f4fbdc75e8a27304c696793f1 (diff) | |
| download | go-58e3bf11fb8af887a97a7329edfffb1126ba5fee.tar.xz | |
syscall: add support for GOARCH=mips{,le}
Change-Id: I39a46b2a9412981db1780b688a86fec791f68b6f
Reviewed-on: https://go-review.googlesource.com/31488
Run-TryBot: Brad Fitzpatrick <bradfitz@golang.org>
Reviewed-by: Cherry Zhang <cherryyz@google.com>
Diffstat (limited to 'src/syscall/types_linux.go')
| -rw-r--r-- | src/syscall/types_linux.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall/types_linux.go b/src/syscall/types_linux.go index 2a16650c0b..125f69d60e 100644 --- a/src/syscall/types_linux.go +++ b/src/syscall/types_linux.go @@ -112,7 +112,7 @@ typedef struct {} ptracePer; // The real epoll_event is a union, and godefs doesn't handle it well. struct my_epoll_event { uint32_t events; -#ifdef __ARM_EABI__ +#if defined(__ARM_EABI__) || (defined(__mips__) && _MIPS_SIM == _ABIO32) // padding is not specified in linux/eventpoll.h but added to conform to the // alignment requirements of EABI int32_t padFd; |
