re PR go/92861 (Passes relative time to sem_timedwait on GNU/Hurd)
authorIan Lance Taylor <ian@gcc.gnu.org>
Mon, 9 Dec 2019 18:03:53 +0000 (18:03 +0000)
committerIan Lance Taylor <ian@gcc.gnu.org>
Mon, 9 Dec 2019 18:03:53 +0000 (18:03 +0000)
PR go/92861
    runtime: don't define CLOCK_REALTIME in os_hurd.go

    It's already defined in sysinfo.go.

    Patch by Samuel Thibault.

    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/210538

From-SVN: r279136

gcc/go/gofrontend/MERGE
libgo/go/runtime/os_hurd.go

index 009a866..93e29b7 100644 (file)
@@ -1,4 +1,4 @@
-1da5ceb8daaab7a243fffd6a647554cf674716f8
+6f2bf15e15bf7516c393966577d72b79cba7f980
 
 The first line of this file holds the git revision number of the last
 merge done from the gofrontend repository.
index fab1774..bb3e7ff 100644 (file)
@@ -125,7 +125,3 @@ func osinit() {
                physPageSize = uintptr(getPageSize())
        }
 }
-
-const (
-       _CLOCK_REALTIME = 0
-)