mirror of
				https://github.com/moby/moby.git
				synced 2022-11-09 12:21:53 -05:00 
			
		
		
		
	Use termios via CGO only on Linux
Signed-off-by: Yohei Ueda <yohei@jp.ibm.com>
This commit is contained in:
		
							parent
							
								
									244af451e9
								
							
						
					
					
						commit
						dfcf05a5d0
					
				
					 4 changed files with 3 additions and 6 deletions
				
			
		| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
// +build !windows,cgo
 | 
			
		||||
// +build linux,cgo
 | 
			
		||||
 | 
			
		||||
package term
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,4 +1,5 @@
 | 
			
		|||
// +build !windows,!cgo
 | 
			
		||||
// +build !windows
 | 
			
		||||
// +build !linux !cgo
 | 
			
		||||
 | 
			
		||||
package term
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			@ -1,5 +1,3 @@
 | 
			
		|||
// +build !cgo
 | 
			
		||||
 | 
			
		||||
package term
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,5 +1,3 @@
 | 
			
		|||
// +build !cgo
 | 
			
		||||
 | 
			
		||||
package term
 | 
			
		||||
 | 
			
		||||
import (
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue