commit | e330eea4464f1513808ccd95011edb4ccbe946b5 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Tue Feb 26 06:23:27 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Tue Feb 26 14:46:16 2019 +0000 |
tree | 8c4c5f807625d981bc630fe931f6ae563c201000 | |
parent | 51d2cb40a6475b126ed66cefa2aa6c8dbdc806d0 [diff] |
runtime: always declare nanotime in Go For libgo it's always defined in C. Updates https://gcc.gnu.org/PR86535 Change-Id: I8d7d5fcb55cee60b91007cec1f3a6e8aae104f10 Reviewed-on: https://go-review.googlesource.com/c/163743 Reviewed-by: Than McIntosh <thanm@google.com>
diff --git a/libgo/go/runtime/stubs3.go b/libgo/go/runtime/stubs3.go index d3e331a..d339787 100644 --- a/libgo/go/runtime/stubs3.go +++ b/libgo/go/runtime/stubs3.go
@@ -2,13 +2,6 @@ // Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. -// +build !plan9 -// +build !windows -// +build !nacl -// +build !freebsd -// +build !darwin -// +build !aix - package runtime func nanotime() int64