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>2001-09-03 23:04:05 +0400
committerCorinna Vinschen <corinna@vinschen.de>2001-09-03 23:04:05 +0400
commita3e67ddfe6806949e6f441e89a1dbe5f0b92ed1a (patch)
treef28e1e5966dc9a6ab44444a3315d6ef6bbc2e97a /newlib/libc/sys
parent4f79e37e4df36513140fd49b9540c73f93c82b46 (diff)
* libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
field. (__DIRENT_VERSION): New define.
Diffstat (limited to 'newlib/libc/sys')
-rw-r--r--newlib/libc/sys/cygwin/sys/dirent.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/newlib/libc/sys/cygwin/sys/dirent.h b/newlib/libc/sys/cygwin/sys/dirent.h
index 5b371cf57..f911a5612 100644
--- a/newlib/libc/sys/cygwin/sys/dirent.h
+++ b/newlib/libc/sys/cygwin/sys/dirent.h
@@ -13,9 +13,12 @@
#include <sys/types.h>
+#define __DIRENT_VERSION 1
+
struct dirent
{
- long __d_reserved[3];
+ long d_version; /* Used since Cygwin 1.3.3. */
+ long __d_reserved[2];
long d_fd; /* File descriptor of open directory. Used since Cygwin 1.3.3. */
ino_t d_ino; /* Just for compatibility, it's junk */
char d_name[256]; /* FIXME: use NAME_MAX? */