Add new win32 header to headerscheck and cpluspluscheck
authorThomas Munro <tmunro@postgresql.org>
Sat, 13 Aug 2022 23:15:23 +0000 (11:15 +1200)
committerThomas Munro <tmunro@postgresql.org>
Sat, 13 Aug 2022 23:15:23 +0000 (11:15 +1200)
Commit 5579388d added src/include/port/win32/netdb.h but forgot to
filter it out in the header checking scripts.  Per build farm animal
crake.

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

index a2120594806f81541a2337890ceabbdb4e59214b..eb06ee01111561a73986fcaf110c4e6f2457890d 100755 (executable)
@@ -71,6 +71,7 @@ do
 
    # Additional Windows-specific headers.
    test "$f" = src/include/port/win32_port.h && continue
+   test "$f" = src/include/port/win32/netdb.h && continue
    test "$f" = src/include/port/win32/sys/resource.h && continue
    test "$f" = src/include/port/win32/sys/socket.h && continue
    test "$f" = src/include/port/win32_msvc/dirent.h && continue
index bbe89dd1a0803bf7c239dd351c1e8df0d85bda83..3f8640a03dd65cb089817dfcf746369f26a57293 100755 (executable)
@@ -67,6 +67,7 @@ do
 
    # Additional Windows-specific headers.
    test "$f" = src/include/port/win32_port.h && continue
+   test "$f" = src/include/port/win32/netdb.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