Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2003-05-30 12:39:02 +0400
committerCorinna Vinschen <corinna@vinschen.de>2003-05-30 12:39:02 +0400
commit4aa10069db16a30f5d6815ee6e7df1e954fafb35 (patch)
treedfcd65f02b0b0a17b746bf1e5c9dd21d920f13c8
parent01a49df113a4e2b0dc0a7cc7d6d3da549065eb0e (diff)
* include/sys/param.h: Add DEV_BSIZE.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/include/sys/param.h7
2 files changed, 10 insertions, 1 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 9fb7debcc..11382e862 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,3 +1,7 @@
+2003-05-30 Corinna Vinschen <corinna@vinschen.de>
+
+ * include/sys/param.h: Add DEV_BSIZE.
+
2003-05-29 Pierre Humblet <pierre.humblet@ieee.org>
Corinna Vinschen <corinna@vinschen.de>
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!).