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: Alexander Lakhin <exclusion(at)gmail(dot)com>, Thomas Munro <thomas(dot)munro(at)gmail(dot)com>, PostgreSQL Hackers <pgsql-hackers(at)lists(dot)postgresql(dot)org>
Subject: Re: msys inet_pton strangeness
Date: 2024-09-29 16:24:13
Message-ID: 1230112.1727627053@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:
> 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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Tom Lane 2024-09-29 17:03:38 Re: pg_verifybackup: TAR format backup verification
Previous Message Andrew Dunstan 2024-09-29 15:47:23 Re: msys inet_pton strangeness