change script variable name to avoid collision with PATH in windows
[git/mingw/4msysgit/gitPS1fix.git] / compat / win32 / dirent.h
blob8838cd61fc282b3713db76e088130f82b6c6fe33
1 #ifndef DIRENT_H
2 #define DIRENT_H
4 typedef struct DIR DIR;
6 #define DT_UNKNOWN 0
7 #define DT_DIR 1
8 #define DT_REG 2
9 #define DT_LNK 3
11 struct dirent {
12 unsigned char d_type; /* file type to prevent lstat after readdir */
13 char d_name[MAX_PATH]; /* file name */
16 DIR *opendir(const char *dirname);
17 struct dirent *readdir(DIR *dir);
18 int closedir(DIR *dir);
20 #endif /* DIRENT_H */