re PR go/93020 (Final patches to build gcc-10 on GNU/Hurd)

PR go/93020
    libgo: Hurd portability patches
    
    By Svante Signell.
    
    Reviewed-on: https://go-review.googlesource.com/c/gofrontend/+/212409

From-SVN: r279724
This commit is contained in:
Ian Lance Taylor 2019-12-24 05:05:32 +00:00
parent 767a77e593
commit f2a8799309
5 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
85641a0f26061f7c98db42a2adb3250c07ce504e
393957c8b68e370504209eb901aa0c3874e256d4
The first line of this file holds the git revision number of the last
merge done from the gofrontend repository.

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
package poll

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build aix darwin dragonfly freebsd js,wasm linux nacl netbsd openbsd solaris
// +build aix darwin dragonfly freebsd hurd js,wasm linux nacl netbsd openbsd solaris
package os

View file

@ -112,7 +112,7 @@ func semawakeup(mp *m) {
}
func getncpu() int32 {
n := int32(sysconf(_SC_NPROCESSORS_ONLN))
n := int32(sysconf(__SC_NPROCESSORS_ONLN))
if n < 1 {
return 1
}

View file

@ -2,7 +2,7 @@
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// +build aix darwin dragonfly freebsd linux netbsd openbsd solaris
// +build aix darwin dragonfly freebsd hurd linux netbsd openbsd solaris
package syscall