]> Cypherpunks repositories - gostls13.git/commitdiff
internal/poll: only build str.go on plan9
authorDave Cheney <dave@cheney.net>
Tue, 14 Feb 2017 01:51:50 +0000 (12:51 +1100)
committerDave Cheney <dave@cheney.net>
Tue, 14 Feb 2017 02:02:39 +0000 (02:02 +0000)
Alternatively the contents of str.go could be moved into fd_io_plan9.go

Change-Id: I9d7ec85bbb376f4244eeca732f25c0b77cadc6a6
Reviewed-on: https://go-review.googlesource.com/36971
Run-TryBot: Dave Cheney <dave@cheney.net>
Reviewed-by: Brad Fitzpatrick <bradfitz@golang.org>
TryBot-Result: Gobot Gobot <gobot@golang.org>

src/internal/poll/str.go

index 2be35c74db5a6b4a21f51612122af1c3cf410706..57ec9d9c2147510715e5095ae4e85a9f6319e784 100644 (file)
@@ -1,3 +1,5 @@
+// +build plan9
+
 // Copyright 2009 The Go Authors. All rights reserved.
 // Use of this source code is governed by a BSD-style
 // license that can be found in the LICENSE file.