diff options
author | Jim Meyering <jim@meyering.net> | 2005-01-24 08:27:15 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2005-01-24 08:27:15 +0000 |
commit | 570fe7948b015644d0cff0a79f8ee8921acb7c7c (patch) | |
tree | dc91c494e4eee683f9e5e5b957ef63c5e02e23dc /src | |
parent | b46e3e42eb38950d5ecd2c13dc96b87f247193af (diff) | |
download | coreutils-570fe7948b015644d0cff0a79f8ee8921acb7c7c.tar.xz |
Use S_BLKSIZE value for ST_NBLOCKSIZE where available.
Diffstat (limited to 'src')
-rw-r--r-- | src/system.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/system.h b/src/system.h index 27aff00d7..ed675f3f3 100644 --- a/src/system.h +++ b/src/system.h @@ -337,7 +337,11 @@ initialize_exit_failure (int status) #endif #ifndef ST_NBLOCKSIZE -# define ST_NBLOCKSIZE 512 +# ifdef S_BLKSIZE +# define ST_NBLOCKSIZE S_BLKSIZE +# else +# define ST_NBLOCKSIZE 512 +# endif #endif /* Redirection and wildcarding when done by the utility itself. |