Re: msys inet_pton strangeness
Andrew Dunstan <andrew@dunslane.net>
From: Andrew Dunstan <andrew@dunslane.net>
To: Thomas Munro <thomas.munro@gmail.com>,
Alexander Lakhin <exclusion@gmail.com>
Cc: Tom Lane <tgl@sss.pgh.pa.us>,
PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-30T13:28:57Z
Lists: pgsql-hackers
On 2024-09-29 Su 6:28 PM, Thomas Munro wrote: > Just an idea... > > --- a/src/include/port/win32.h > +++ b/src/include/port/win32.h > @@ -16,7 +16,7 @@ > * get support for GetLocaleInfoEx() with locales. For everything else > * the minimum version is Windows XP (0x0501). > */ > -#if defined(_MSC_VER) && _MSC_VER >= 1900 > +#if !defined(_MSC_VER) || _MSC_VER >= 1900 > #define MIN_WINNT 0x0600 > #else > #define MIN_WINNT 0x0501 This seems reasonable as just about the most minimal change we can make work. cheers andrew -- Andrew Dunstan EDB: https://www.enterprisedb.com
Commits
-
Bump MIN_WINNT for MINGW to clear a build error
- d700e8d75bc3 15.9 landed
-
Make Windows 10 the minimal runtime requirement for WIN32
- 495ed0ef2d72 16.0 cited
-
libpq: Allow IP address SANs in server certificates
- c1932e542863 15.0 cited