From 7b425a5283cb2c8a452c2e79d6218e41373fd641 Mon Sep 17 00:00:00 2001 From: Tom Lane Date: Mon, 2 Mar 2020 14:35:22 -0500 Subject: [PATCH] Blacklist port/win32_msvc/utime.h in cpluspluscheck and headerscheck. Since commit 481c8e923 it tends to produce "error: sys/utime.h: No such file or directory" on non-Windows platforms. --- src/tools/pginclude/cpluspluscheck | 1 + src/tools/pginclude/headerscheck | 1 + 2 files changed, 2 insertions(+) diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index 531fab904c..6f2b8b093d 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -74,6 +74,7 @@ do test "$f" = src/include/port/win32_port.h && continue test "$f" = src/include/port/win32/sys/socket.h && continue test "$f" = src/include/port/win32_msvc/dirent.h && continue + test "$f" = src/include/port/win32_msvc/utime.h && continue test "$f" = src/port/pthread-win32.h && continue # Likewise, these files are platform-specific, and the one diff --git a/src/tools/pginclude/headerscheck b/src/tools/pginclude/headerscheck index d652d6b6f9..c163f82b8c 100755 --- a/src/tools/pginclude/headerscheck +++ b/src/tools/pginclude/headerscheck @@ -70,6 +70,7 @@ do test "$f" = src/include/port/win32_port.h && continue test "$f" = src/include/port/win32/sys/socket.h && continue test "$f" = src/include/port/win32_msvc/dirent.h && continue + test "$f" = src/include/port/win32_msvc/utime.h && continue test "$f" = src/port/pthread-win32.h && continue # Likewise, these files are platform-specific, and the one