aboutsummaryrefslogtreecommitdiff
path: root/src/bin/pg_basebackup/pg_receivexlog.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/pg_basebackup/pg_receivexlog.c')
-rw-r--r--src/bin/pg_basebackup/pg_receivexlog.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/bin/pg_basebackup/pg_receivexlog.c b/src/bin/pg_basebackup/pg_receivexlog.c
index 1eda4b6b002..406610a8625 100644
--- a/src/bin/pg_basebackup/pg_receivexlog.c
+++ b/src/bin/pg_basebackup/pg_receivexlog.c
@@ -209,12 +209,6 @@ FindStreamingStart(uint32 *tli)
}
}
-#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)
{
fprintf(stderr, _("%s: could not read directory \"%s\": %s\n"),