(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.
This commit is contained in:
parent
967a91b21d
commit
8f7f8c6539
1 changed files with 2 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue