pgsql: Bump MIN_WINNT for MINGW to clear a build error - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Bump MIN_WINNT for MINGW to clear a build error
Date
Msg-id E1svIaa-001b08-Pm@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Bump MIN_WINNT for MINGW to clear a build error

Because we have been setting this too low, there has been a
long-standing warning about a missing declaration for inet_pton().
Modern gcc now considers this an error, so we have been getting failures
on the buildfarm animal fairywren.

Fix suggested by Thomas Munro.

This isn't needed in later branches, as they already set MIN_WINNT
higher, nor on earlier branches because they don't use inet_pton().

Discussion: https://postgr.es/m/574fae43-c993-4a25-b0e5-04c3e9c36d6d@dunslane.net

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d700e8d75bc3844d866bf15c8cadbd72d759422d

Modified Files
--------------
src/include/port/win32.h | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)


pgsql-committers by date:

Previous
From: Alvaro Herrera
Date:
Subject: pgsql: Don't disallow DROP of constraints ONLY on partitioned tables
Next
From: Tom Lane
Date:
Subject: pgsql: Remove incorrect entries in pg_walsummary's getopt_long call.