From: Jim Meyering Date: Mon, 24 Jan 2005 08:27:15 +0000 (+0000) Subject: Use S_BLKSIZE value for ST_NBLOCKSIZE where available. X-Git-Tag: CPPI-1_12~1554 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=570fe7948b015644d0cff0a79f8ee8921acb7c7c;p=thirdparty%2Fcoreutils.git Use S_BLKSIZE value for ST_NBLOCKSIZE where available. --- diff --git a/src/system.h b/src/system.h index 27aff00d79..ed675f3f3e 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.