projects
/
chise
/
xemacs-chise.git.1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(A-IWDSU+7375): New abstract node.
[chise/xemacs-chise.git.1]
/
src
/
sysdir.h
diff --git
a/src/sysdir.h
b/src/sysdir.h
index
0139a8d
..
a123909
100644
(file)
--- a/
src/sysdir.h
+++ b/
src/sysdir.h
@@
-59,7
+59,11
@@
Boston, MA 02111-1307, USA. */
Since applying strlen to the name always works, we'll just do that. */
#define NAMLEN(p) strlen (p->d_name)
Since applying strlen to the name always works, we'll just do that. */
#define NAMLEN(p) strlen (p->d_name)
-#define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
+#ifdef __CYGWIN__
+# define DIRENTRY_NONEMPTY(p) ((p)->d_name[0] != '\0')
+#else
+# define DIRENTRY_NONEMPTY(p) ((p)->d_ino)
+#endif
/* encapsulation: directory calls */
/* encapsulation: directory calls */