Skip statvfs impl on linux if using gccgo (#122)

gccgo is missing some fields in the linux version of the
syscall.Statfs_t type, so use the stub impl instead.

Fixes #121
This commit is contained in:
Dave Cheney 2016-06-22 13:17:59 +10:00 committed by GitHub
parent d4c18e7ffd
commit 57fcf4a640
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,5 @@
// +build !gccgo,linux
package sftp
import (

View File

@ -1,4 +1,4 @@
// +build !darwin,!linux
// +build !darwin,!linux gccgo
package sftp