From 570fe7948b015644d0cff0a79f8ee8921acb7c7c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 24 Jan 2005 08:27:15 +0000 Subject: Use S_BLKSIZE value for ST_NBLOCKSIZE where available. --- src/system.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src') 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. -- cgit v1.2.3-70-g09d2