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
-
Bump MIN_WINNT for MINGW to clear a build error
- d700e8d75bc3 15.9 landed
-
Make Windows 10 the minimal runtime requirement for WIN32
- 495ed0ef2d72 16.0 cited
-
libpq: Allow IP address SANs in server certificates
- c1932e542863 15.0 cited