Mercurial > gnulib
changeset 20361:b48bd465a664
(get_fs_usage) [STAT_STATFS4] [_CRAY]: Define f_bavail to f_bfree.
From by Johan Danielsson.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Fri, 02 Aug 1996 03:25:10 +0000 |
parents | 42adca0f8ed0 |
children | cbbf51782dd8 |
files | lib/fsusage.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/fsusage.c Wed Jul 31 04:43:59 1996 +0000 +++ b/lib/fsusage.c Fri Aug 02 03:25:10 1996 +0000 @@ -183,8 +183,11 @@ /* Empirically, the block counts on most SVR3 and SVR3-derived systems seem to always be in terms of 512-byte blocks, no matter what value f_bsize has. */ -# if _AIX +# if _AIX || defined(_CRAY) # define CONVERT_BLOCKS(b) adjust_blocks ((b), fsd.f_bsize, 512) +# ifdef _CRAY +# define f_bavail f_bfree +# endif # else # define CONVERT_BLOCKS(b) (b) # ifndef _SEQUENT_ /* _SEQUENT_ is DYNIX/ptx. */