[PATCH V2 06/11] NaCl: Detect systems that don't support statfs()

Woodhouse, David david.woodhouse at intel.com
Wed Feb 10 13:28:26 PST 2016

On Mon, 2016-02-08 at 22:34 -0800, Kevin Cernekee wrote:
> This is missing on Chrome's Native Client (NaCl) because NaCl doesn't
> really have (traditional) filesystems.

Should we have a feature test for statvfs() too? And use statfs by
preference where it's available?

#ifdef _WIN32
#elif defined(HAVE_STATFS)
#elif defined(HAVE_STATVFS)

David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3437 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openconnect-devel/attachments/20160210/72b9b976/attachment-0001.bin>

More information about the openconnect-devel mailing list