Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Blacklist port/win32_msvc/utime.h in cpluspluscheck and headerscheck.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Mar 2020 19:35:22 +0000 (14:35 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 2 Mar 2020 19:35:22 +0000 (14:35 -0500)
Since commit 481c8e923 it tends to produce "error: sys/utime.h: No such
file or directory" on non-Windows platforms.

src/tools/pginclude/cpluspluscheck
src/tools/pginclude/headerscheck

index 531fab904cf5fc753423a4e8830759aea0d9ff0f..6f2b8b093d343492a05f647a2754fd5e9cd4a592 100755 (executable)
@@ -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
index d652d6b6f9a58ea6f2b8fffb1f9c828dd448d3bd..c163f82b8cc62cee972b994e0c41ab75b53d7d15 100755 (executable)
@@ -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