Re: msys inet_pton strangeness

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Andrew Dunstan <andrew(at)dunslane(dot)net>
Cc: PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: msys inet_pton strangeness
Date: 2024-09-28 19:49:56
Message-ID: 1093261.1727552996@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Andrew Dunstan <andrew(at)dunslane(dot)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Thomas Munro 2024-09-28 20:52:52 Re: msys inet_pton strangeness
Previous Message Tom Lane 2024-09-28 19:45:36 Re: Better error reporting from extension scripts (Was: Extend ALTER OPERATOR)