mirror of
https://github.com/rwinkhart/sys.git
synced 2026-09-02 23:27:31 -04:00
x/sys/unix: move gccgo redeclared functions to separate files
These functions are redeclared in gccgo builds, so move them to separate files with the "!gccgo" build constraint. Fixes golang/go#18312 Change-Id: I868cfb77fc394e5e96cee78af0f3abf43db6082a Reviewed-on: https://go-review.googlesource.com/34379 Reviewed-by: Ian Lance Taylor <iant@golang.org>
This commit is contained in:
committed by
Ian Lance Taylor
parent
478fcf5431
commit
d75a526598
@@ -0,0 +1,13 @@
|
||||
// Copyright 2016 The Go Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
// +build amd64,linux
|
||||
// +build !gccgo
|
||||
|
||||
package unix
|
||||
|
||||
import "syscall"
|
||||
|
||||
//go:noescape
|
||||
func gettimeofday(tv *Timeval) (err syscall.Errno)
|
||||
Reference in New Issue
Block a user