Bump MIN_WINNT for MINGW to clear a build error
authorAndrew Dunstan
Mon, 30 Sep 2024 15:32:32 +0000 (11:32 -0400)
committerAndrew Dunstan
Mon, 30 Sep 2024 15:32:32 +0000 (11:32 -0400)
commitd700e8d75bc3844d866bf15c8cadbd72d759422d
treecf87a70330922a8a8446bc16c868b1fd5af724ea
parent92cc21d158f30d46642b5123697f71b7a740fbd7
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
src/include/port/win32.h