Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
Win32 dirent: clarify #include directives
[gitweb.git]
/
compat
/
win32
/
dirent.h
diff --git
a/compat/win32/dirent.h
b/compat/win32/dirent.h
index 7f4e6c71d9e25e564e64cd082fdc2b44a03704da..8838cd61fc282b3713db76e088130f82b6c6fe33 100644
(file)
--- a/
compat/win32/dirent.h
+++ b/
compat/win32/dirent.h
@@
-9,8
+9,8
@@
typedef struct DIR DIR;
#define DT_LNK 3
struct dirent {
- char d_name[FILENAME_MAX]; /* File name. */
unsigned char d_type; /* file type to prevent lstat after readdir */
+ char d_name[MAX_PATH]; /* file name */
};
DIR *opendir(const char *dirname);