pgsql: Add missing include guard to win32ntdll.h.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Add missing include guard to win32ntdll.h.
Date: 2024-11-07 23:19:39
Message-ID: E1t9Bms-000hQA-Kp@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: 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(at)sss(dot)pgh(dot)pa(dot)us>
Discussion: https://postgr.es/m/2760528.1641929756%40sss.pgh.pa.us
(cherry picked from commit af9e6331aeba149c93052c3549140082a85a3cf9)

Author: Thomas Munro <tmunro(at)postgresql(dot)org>
Author: Alexandra Wang <alexandra(dot)wang(dot)oss(at)gmail(dot)com>

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/ce14dbbcafde5a629d4dbcabdadecea440e7955d
Author: Thomas Munro <tmunro(at)postgresql(dot)org>

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

Browse pgsql-committers by date

  From Date Subject
Next Message Richard Guo 2024-11-08 02:25:45 pgsql: Fix inconsistent RestrictInfo serial numbers
Previous Message Andrew Dunstan 2024-11-07 23:19:38 pgsql: Provide lstat() for Windows.