summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/include
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-05-30 08:39:02 +0000
committerCorinna Vinschen <corinna@vinschen.de>2003-05-30 08:39:02 +0000
commit4aa10069db16a30f5d6815ee6e7df1e954fafb35 (patch)
treedfcd65f02b0b0a17b746bf1e5c9dd21d920f13c8 /winsup/cygwin/include
parent01a49df113a4e2b0dc0a7cc7d6d3da549065eb0e (diff)
downloadcygnal-4aa10069db16a30f5d6815ee6e7df1e954fafb35.tar.gz
cygnal-4aa10069db16a30f5d6815ee6e7df1e954fafb35.tar.bz2
cygnal-4aa10069db16a30f5d6815ee6e7df1e954fafb35.zip
* include/sys/param.h: Add DEV_BSIZE.
Diffstat (limited to 'winsup/cygwin/include')
-rw-r--r--winsup/cygwin/include/sys/param.h7
1 files changed, 6 insertions, 1 deletions
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!).