OSDN Git Service

* include/sys/param.h: Add DEV_BSIZE.
authorcorinna <corinna>
Fri, 30 May 2003 08:39:00 +0000 (08:39 +0000)
committercorinna <corinna>
Fri, 30 May 2003 08:39:00 +0000 (08:39 +0000)
winsup/cygwin/ChangeLog
winsup/cygwin/include/sys/param.h

index 9fb7deb..11382e8 100644 (file)
@@ -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>
 
index 09ef74e..5469cc7 100644 (file)
@@ -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
    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!).