Jelajahi Sumber

go.sys: add solaris build tags
They were missed yesterday when adding the tags for all the other unix variants.

LGTM=aram
R=rsc, aram
CC=golang-codereviews
https://golang.org/cl/126150043

Rob Pike 11 tahun lalu
induk
melakukan
9e072b55ca
5 mengubah file dengan 5 tambahan dan 5 penghapusan
  1. 1 1
      unix/race.go
  2. 1 1
      unix/race0.go
  3. 1 1
      unix/str.go
  4. 1 1
      unix/syscall.go
  5. 1 1
      unix/syscall_test.go

+ 1 - 1
unix/race.go

@@ -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 darwin,race dragonfly,race freebsd,race linux,race netbsd,race openbsd,race
+// +build darwin,race linux,race
 
 package unix
 

+ 1 - 1
unix/race0.go

@@ -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 darwin,!race dragonfly,!race freebsd,!race linux,!race netbsd,!race openbsd,!race
+// +build darwin,!race dragonfly,!race freebsd linux netbsd openbsd solaris
 
 package unix
 

+ 1 - 1
unix/str.go

@@ -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 darwin dragonfly freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris
 
 package unix
 

+ 1 - 1
unix/syscall.go

@@ -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 darwin dragonfly freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris
 
 // Package unix contains an interface to the low-level operating system
 // primitives.  OS details vary depending on the underlying system, and

+ 1 - 1
unix/syscall_test.go

@@ -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 darwin dragonfly freebsd linux netbsd openbsd
+// +build darwin dragonfly freebsd linux netbsd openbsd solaris
 
 package unix_test