comparison src/dired.c @ 68427:57575786f53a

(DIRENTRY_NONEMPTY) [__CYGWIN__]: Use the MSDOS definition.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 27 Jan 2006 20:44:10 +0000
parents 7e038f82befc
children 3bd95f4f2941 7432ca837c8d
comparison
equal deleted inserted replaced
68426:e7649e83dff6 68427:57575786f53a
83 extern struct direct *readdir (); 83 extern struct direct *readdir ();
84 84
85 #endif /* not MSDOS */ 85 #endif /* not MSDOS */
86 #endif /* not SYSV_SYSTEM_DIR */ 86 #endif /* not SYSV_SYSTEM_DIR */
87 87
88 #ifdef MSDOS 88 /* Some versions of Cygwin don't have d_ino in `struct dirent'. */
89 #if defined(MSDOS) || defined(__CYGWIN__)
89 #define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0) 90 #define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != 0)
90 #else 91 #else
91 #define DIRENTRY_NONEMPTY(p) ((p)->d_ino) 92 #define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
92 #endif 93 #endif
93 94