commit | 6f2bf15e15bf7516c393966577d72b79cba7f980 | [log] [tgz] |
---|---|---|
author | Ian Lance Taylor <iant@golang.org> | Mon Dec 09 10:02:16 2019 -0800 |
committer | Ian Lance Taylor <iant@golang.org> | Mon Dec 09 18:03:07 2019 +0000 |
tree | 0d0dfb65eeede540fc1a0240816d554a9e29249f | |
parent | 1da5ceb8daaab7a243fffd6a647554cf674716f8 [diff] |
runtime: don't define CLOCK_REALTIME in os_hurd.go It's already defined in sysinfo.go. Patch by Samuel Thibault. Fixes https://gcc.gnu.org/PR92861 Change-Id: If56519d81d451249d4c854a20b2b89bd7cabcc5a Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210538 Reviewed-by: Ian Lance Taylor <iant@golang.org>
diff --git a/libgo/go/runtime/os_hurd.go b/libgo/go/runtime/os_hurd.go index fab1774..bb3e7ff 100644 --- a/libgo/go/runtime/os_hurd.go +++ b/libgo/go/runtime/os_hurd.go
@@ -125,7 +125,3 @@ physPageSize = uintptr(getPageSize()) } } - -const ( - _CLOCK_REALTIME = 0 -)