mirror of
https://github.com/golang/go.git
synced 2025-12-08 06:10:04 +00:00
[dev.cc] runtime: fix linux build
TBR=austin CC=golang-codereviews https://golang.org/cl/176760044
This commit is contained in:
parent
1d05d5880e
commit
a87e4a2d01
4 changed files with 14 additions and 2 deletions
|
|
@ -134,6 +134,10 @@ func (ts *timespec) set_sec(x int32) {
|
|||
ts.tv_sec = x
|
||||
}
|
||||
|
||||
func (ts *timespec) set_nsec(x int32) {
|
||||
ts.tv_nsec = x
|
||||
}
|
||||
|
||||
type timeval struct {
|
||||
tv_sec int32
|
||||
tv_usec int32
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue