Re: msys inet_pton strangeness - Mailing list pgsql-hackers

From Andrew Dunstan
Subject Re: msys inet_pton strangeness
Date
Msg-id 498d1803-4dfe-426d-a609-d8e96b4d0109@dunslane.net
Whole thread Raw
In response to Re: msys inet_pton strangeness  (Thomas Munro <thomas.munro@gmail.com>)
List 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




pgsql-hackers by date:

Previous
From: Ashutosh Bapat
Date:
Subject: Re: SET or STRICT modifiers on function affect planner row estimates
Next
From: Antonin Houska
Date:
Subject: Re: [PoC] Federated Authn/z with OAUTHBEARER