Re: msys inet_pton strangeness - Mailing list pgsql-hackers

From Tom Lane
Subject Re: msys inet_pton strangeness
Date
Msg-id 1093261.1727552996@sss.pgh.pa.us
Whole thread Raw
In response to Re: msys inet_pton strangeness  (Andrew Dunstan <andrew@dunslane.net>)
List 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



pgsql-hackers by date:

Previous
From: Tom Lane
Date:
Subject: Re: Better error reporting from extension scripts (Was: Extend ALTER OPERATOR)
Next
From: Thomas Munro
Date:
Subject: Re: msys inet_pton strangeness