mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
syscall: fix linux/arm build
bug introduced at https://golang.org/cl/2331044 R=ken2 CC=golang-dev https://golang.org/cl/3440046
This commit is contained in:
parent
b07b04d35f
commit
66f7463e80
1 changed files with 12 additions and 0 deletions
|
|
@ -98,3 +98,15 @@ func Seek(fd int, offset int64, whence int) (newoffset int64, errno int)
|
|||
func (r *PtraceRegs) PC() uint64 { return 0 }
|
||||
|
||||
func (r *PtraceRegs) SetPC(pc uint64) {}
|
||||
|
||||
func (iov *Iovec) SetLen(length int) {
|
||||
iov.Len = uint32(length)
|
||||
}
|
||||
|
||||
func (msghdr *Msghdr) SetControllen(length int) {
|
||||
msghdr.Controllen = uint32(length)
|
||||
}
|
||||
|
||||
func (cmsg *Cmsghdr) SetLen(length int) {
|
||||
cmsg.Len = uint32(length)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue