postgres.git / summary / log / commit / refs
commit 7b425a5283cb2c8a452c2e79d6218e41373fd641
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: Mon Mar 02 19:35:22 2020 +0000
First released in: 13.0
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 531fab904cf..6f2b8b093d3 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 d652d6b6f9a..c163f82b8cc 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
[parent: 90051cd8278b]