update
This commit is contained in:
parent
49e8e29499
commit
6f514155f1
1 changed files with 4 additions and 0 deletions
|
@ -11,6 +11,9 @@
|
|||
# include <sys/param.h>
|
||||
# include <sys/mount.h>
|
||||
# define STATSTRUCT statfs
|
||||
/* In newer OSX versions, statfs64 is deprecated, in favor of statfs,
|
||||
* which is 64 bit with a built option -- but statfs64 still works,
|
||||
* and this keeps older OSX also supported. */
|
||||
# define STATCALL statfs64
|
||||
#else
|
||||
#if defined (__FreeBSD__)
|
||||
|
@ -26,6 +29,7 @@
|
|||
# define STATCALL statfs64
|
||||
#else
|
||||
#if defined (__linux__)
|
||||
/* This is a POSIX standard, so might also work elsewhere. */
|
||||
# include <sys/statvfs.h>
|
||||
# define STATSTRUCT statvfs
|
||||
# define STATCALL statvfs
|
||||
|
|
Loading…
Reference in a new issue