浏览代码

go.crypto/ssh/terminal: enable freebsd build

syscall.Termios, which was the only thing breaking the build, is
available in go tip now
(https://code.google.com/p/go/source/detail?r=873d664b00ec)

R=golang-codereviews, bradfitz
CC=golang-codereviews
https://golang.org/cl/51690043
Michael Gehring 12 年之前
父节点
当前提交
ef64186525
共有 2 个文件被更改,包括 2 次插入2 次删除
  1. 1 1
      ssh/terminal/util.go
  2. 1 1
      ssh/terminal/util_bsd.go

+ 1 - 1
ssh/terminal/util.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 linux,!appengine darwin
+// +build linux,!appengine darwin freebsd
 
 // Package terminal provides support functions for dealing with terminals, as
 // commonly found on UNIX systems.

+ 1 - 1
ssh/terminal/util_bsd.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
+// +build darwin freebsd
 
 package terminal