Re: msys inet_pton strangeness

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: Andrew Dunstan <andrew@dunslane.net>
Cc: PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-28T19:49:56Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> We should have included ws2tcpip.h, which includes this:

>     #define InetPtonA inet_pton
>     WINSOCK_API_LINKAGE INT WSAAPI InetPtonA(INT Family, LPCSTR pStringBuf, PVOID pAddr);

> It's conditioned on (_WIN32_WINNT >= 0x0600), but that should be true.

> So I'm still very confused ;-(

Me too.  Does this compiler support the equivalent of -E, so
that you can verify that the InetPtonA declaration is being
read?

			regards, tom lane



Commits

  1. Bump MIN_WINNT for MINGW to clear a build error

  2. Make Windows 10 the minimal runtime requirement for WIN32

  3. libpq: Allow IP address SANs in server certificates