Commit 8f7f8c65 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.

parent 967a91b2
......@@ -85,7 +85,8 @@ extern struct direct *readdir ();
#endif /* not MSDOS */
#endif /* not SYSV_SYSTEM_DIR */
#ifdef MSDOS
/* Some versions of Cygwin don't have d_ino in `struct dirent'. */
#if defined(MSDOS) || defined(__CYGWIN__)
#define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
#else
#define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment