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: Alexander Lakhin <exclusion@gmail.com>, Thomas Munro <thomas.munro@gmail.com>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2024-09-29T16:24:13Z
Lists: pgsql-hackers
Andrew Dunstan <andrew@dunslane.net> writes:
> Yeah, src/include/port/win32/sys/socket.h has:

>     #include <winsock2.h>
>     #include <ws2tcpip.h>
>     #include <windows.h>

> I'm inclined to think we might need to reverse the order of the last 
> two. TBH I don't really understand how this has worked up to now.

I see the same in src/include/port/win32_port.h ... wouldn't that
get included first?

			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