Add missing include guard to win32ntdll.h.
authorThomas Munro <tmunro@postgresql.org>
Tue, 11 Jan 2022 21:11:50 +0000 (10:11 +1300)
committerAndrew Dunstan <andrew@dunslane.net>
Thu, 7 Nov 2024 23:05:45 +0000 (09:35 +1030)
commitce14dbbcafde5a629d4dbcabdadecea440e7955d
treec92e1fdf72374e80aa587edafd5c0caf27f70d0a
parent1bf47d89776c2647d896f308687fa13d6c2877e2
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
(cherry picked from commit af9e6331aeba149c93052c3549140082a85a3cf9)

Author: Thomas Munro <tmunro@postgresql.org>
Author: Alexandra Wang <alexandra.wang.oss@gmail.com>
src/include/port/win32ntdll.h
src/tools/pginclude/cpluspluscheck
src/tools/pginclude/headerscheck