aboutsummaryrefslogtreecommitdiff
path: root/win32/dirent.c
diff options
context:
space:
mode:
Diffstat (limited to 'win32/dirent.c')
-rw-r--r--win32/dirent.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/win32/dirent.c b/win32/dirent.c
index b5b379209..d708de691 100644
--- a/win32/dirent.c
+++ b/win32/dirent.c
@@ -11,7 +11,6 @@ static inline void finddata2dirent(struct dirent *ent, WIN32_FIND_DATAA *fdata)
11 /* copy file name from WIN32_FIND_DATA to dirent */ 11 /* copy file name from WIN32_FIND_DATA to dirent */
12 strcpy(ent->d_name, fdata->cFileName); 12 strcpy(ent->d_name, fdata->cFileName);
13 13
14#if ENABLE_FEATURE_EXTRA_FILE_DATA
15 if ((fdata->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) && 14 if ((fdata->dwFileAttributes & FILE_ATTRIBUTE_REPARSE_POINT) &&
16 (fdata->dwReserved0 == IO_REPARSE_TAG_SYMLINK || 15 (fdata->dwReserved0 == IO_REPARSE_TAG_SYMLINK ||
17 fdata->dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT)) 16 fdata->dwReserved0 == IO_REPARSE_TAG_MOUNT_POINT))
@@ -20,7 +19,6 @@ static inline void finddata2dirent(struct dirent *ent, WIN32_FIND_DATAA *fdata)
20 ent->d_type = DT_DIR; 19 ent->d_type = DT_DIR;
21 else 20 else
22 ent->d_type = DT_REG; 21 ent->d_type = DT_REG;
23#endif
24} 22}
25 23
26DIR *opendir(const char *name) 24DIR *opendir(const char *name)