pgsql: Add missing include guard to win32ntdll.h. - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Add missing include guard to win32ntdll.h.
Date
Msg-id E1t9Bms-000hQA-Kp@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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>

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ce14dbbcafde5a629d4dbcabdadecea440e7955d
Author: Thomas Munro <tmunro@postgresql.org>

Modified Files
--------------
src/include/port/win32ntdll.h      | 5 +++++
src/tools/pginclude/cpluspluscheck | 1 +
src/tools/pginclude/headerscheck   | 1 +
3 files changed, 7 insertions(+)


pgsql-committers by date:

Previous
From: Andrew Dunstan
Date:
Subject: pgsql: Provide lstat() for Windows.
Next
From: Richard Guo
Date:
Subject: pgsql: Fix inconsistent RestrictInfo serial numbers