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:
parent
767a77e593
commit
f2a8799309
5 changed files with 5 additions and 5 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
}
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue