aboutsummaryrefslogtreecommitdiff
path: root/src/common/pgfnames.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/pgfnames.c')
-rw-r--r--src/common/pgfnames.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/common/pgfnames.c b/src/common/pgfnames.c
index 51a848a1fdb..016da325142 100644
--- a/src/common/pgfnames.c
+++ b/src/common/pgfnames.c
@@ -64,12 +64,6 @@ pgfnames(const char *path)
}
}
-#ifdef WIN32
- /* Bug in old Mingw dirent.c; fixed in mingw-runtime-3.2, 2003-10-10 */
- if (GetLastError() == ERROR_NO_MORE_FILES)
- errno = 0;
-#endif
-
if (errno)
{
#ifndef FRONTEND