diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/mingw.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/mingw.h b/include/mingw.h index c15161483..6d494b7ef 100644 --- a/include/mingw.h +++ b/include/mingw.h | |||
@@ -435,6 +435,12 @@ int mingw_rmdir(const char *name); | |||
435 | int utimes(const char *file_name, const struct timeval times[2]); | 435 | int utimes(const char *file_name, const struct timeval times[2]); |
436 | 436 | ||
437 | /* | 437 | /* |
438 | * dirent.h | ||
439 | */ | ||
440 | DIR *mingw_opendir(const char *path); | ||
441 | #define opendir mingw_opendir | ||
442 | |||
443 | /* | ||
438 | * MinGW specific | 444 | * MinGW specific |
439 | */ | 445 | */ |
440 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') | 446 | #define is_dir_sep(c) ((c) == '/' || (c) == '\\') |