diff options
| author | Thomas Munro | 2022-01-11 21:11:50 +0000 |
|---|---|---|
| committer | Thomas Munro | 2022-01-11 21:19:00 +0000 |
| commit | af9e6331aeba149c93052c3549140082a85a3cf9 (patch) | |
| tree | a2b2052e23c1d85180c577ee0b00d4d4fb61d150 /src/tools/pginclude | |
| parent | 6f6943fc94ada145c0af5f62f719abad73825e5b (diff) | |
Add missing include guard to win32ntdll.h.
Oversight in commit e2f0f8ed. Also add this file to the exclusion lists
in headerscheck and cpluscpluscheck, because Unix systems don't have a
header it includes.
Reported-by: Tom Lane <tgl@sss.pgh.pa.us>
Discussion: https://postgr.es/m/2760528.1641929756%40sss.pgh.pa.us
Diffstat (limited to 'src/tools/pginclude')
| -rwxr-xr-x | src/tools/pginclude/cpluspluscheck | 1 | ||||
| -rwxr-xr-x | src/tools/pginclude/headerscheck | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/tools/pginclude/cpluspluscheck b/src/tools/pginclude/cpluspluscheck index e7cd65a5c7a..42688fff53a 100755 --- a/src/tools/pginclude/cpluspluscheck +++ b/src/tools/pginclude/cpluspluscheck @@ -75,6 +75,7 @@ do 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/include/port/win32ntdll.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 397237358e7..f8b0674a661 100755 --- a/src/tools/pginclude/headerscheck +++ b/src/tools/pginclude/headerscheck @@ -71,6 +71,7 @@ do 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/include/port/win32ntdll.h && continue test "$f" = src/port/pthread-win32.h && continue # Likewise, these files are platform-specific, and the one |
