Use termios via CGO only on Linux

Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
This commit is contained in:
Yohei Ueda 2014-11-25 20:49:01 +09:00
parent 92251ceb7b
commit c1532556b2
4 changed files with 3 additions and 6 deletions

View file

@ -1,4 +1,4 @@
// +build !windows,cgo // +build linux,cgo
package term package term

View file

@ -1,4 +1,5 @@
// +build !windows,!cgo // +build !windows
// +build !linux !cgo
package term package term

View file

@ -1,5 +1,3 @@
// +build !cgo
package term package term
import ( import (

View file

@ -1,5 +1,3 @@
// +build !cgo
package term package term
import ( import (