]> git.ipfire.org Git - thirdparty/xfsprogs-dev.git/commit
platform: Add statvfs64 for OS X
authorJan Tulak <jtulak@redhat.com>
Tue, 13 Oct 2015 23:58:24 +0000 (10:58 +1100)
committerDave Chinner <david@fromorbit.com>
Tue, 13 Oct 2015 23:58:24 +0000 (10:58 +1100)
commitb35b4eb8f91d13a326213f989ea1d20e02c68e20
tree9de5d8e8a93a36a90d6a75539122f456368914ad
parent07b010a08c2c078f02019b08415f3c337e4aa0a5
platform: Add statvfs64 for OS X

Simply rename statvfs64 to statfs with a #define.
OSX version of statvfs is missing some members, so if the renaming
is in effect (stavfs64 is defined), don't try to use them and go
directly for the other member value.

Signed-off-by: Jan Tulak <jtulak@redhat.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
Signed-off-by: Dave Chinner <david@fromorbit.com>
fsr/xfs_fsr.c
include/builddefs.in
include/darwin.h