From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, Alexander Lakhin <exclusion(at)gmail(dot)com> |
Cc: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org> |
Subject: | Re: msys inet_pton strangeness |
Date: | 2024-09-30 13:28:57 |
Message-ID: | 498d1803-4dfe-426d-a609-d8e96b4d0109@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
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
From | Date | Subject | |
---|---|---|---|
Next Message | Antonin Houska | 2024-09-30 13:38:41 | Re: [PoC] Federated Authn/z with OAUTHBEARER |
Previous Message | Amit Kapila | 2024-09-30 12:44:32 | Re: BUG #18641: Logical decoding of two-phase commit fails with TOASTed default values |