mirror of https://github.com/pkg/sftp.git
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:
parent
d4c18e7ffd
commit
57fcf4a640
|
@ -1,3 +1,5 @@
|
|||
// +build !gccgo,linux
|
||||
|
||||
package sftp
|
||||
|
||||
import (
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
// +build !darwin,!linux
|
||||
// +build !darwin,!linux gccgo
|
||||
|
||||
package sftp
|
||||
|
||||
|
|
Loading…
Reference in New Issue