summaryrefslogtreecommitdiff
path: root/src/dired.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dired.c')
-rw-r--r--src/dired.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dired.c b/src/dired.c
index 931279a0764..5038e04cd01 100644
--- a/src/dired.c
+++ b/src/dired.c
@@ -137,7 +137,7 @@ read_dirent (DIR *dir, Lisp_Object dirname)
return dp;
if (! (errno == EAGAIN || errno == EINTR))
{
-#ifdef MSDOS
+#ifdef WINDOWSNT
/* The MS-Windows implementation of 'opendir' doesn't
actually open a directory until the first call to
'readdir'. If 'readdir' fails to open the directory, it