Bump MIN_WINNT for MINGW to clear a build error

Andrew Dunstan <andrew@dunslane.net>

Commit: d700e8d75bc3844d866bf15c8cadbd72d759422d
Author: Andrew Dunstan <andrew@dunslane.net>
Date: 2024-09-30T15:32:32Z
Releases: 15.9
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

Files

PathChange+/−
src/include/port/win32.h modified +4 −2

Discussion