From 4aa10069db16a30f5d6815ee6e7df1e954fafb35 Mon Sep 17 00:00:00 2001 From: Corinna Vinschen Date: Fri, 30 May 2003 08:39:02 +0000 Subject: * include/sys/param.h: Add DEV_BSIZE. --- winsup/cygwin/include/sys/param.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'winsup/cygwin/include/sys') diff --git a/winsup/cygwin/include/sys/param.h b/winsup/cygwin/include/sys/param.h index 09ef74ed9..5469cc70b 100644 --- a/winsup/cygwin/include/sys/param.h +++ b/winsup/cygwin/include/sys/param.h @@ -1,6 +1,6 @@ /* sys/param.h - Copyright 2001 Red Hat, Inc. + Copyright 2001, 2003 Red Hat, Inc. This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for @@ -33,6 +33,11 @@ The Posix version is PATH_MAX. */ #define MAXPATHLEN (260 - 1 /*NUL*/) +/* This is the number of bytes per block given in the st_blocks stat member. + It should be in sync with S_BLKSIZE in sys/stat.h. S_BLKSIZE is the + BSD variant of this constant. */ +#define DEV_BSIZE 1024 + /* Some autoconf'd packages check for endianness. When cross-building we can't run programs on the target. Fortunately, autoconf supports the definition of byte order in sys/param.h (that's us!). -- cgit v1.2.3