Re: MinGW build with IPv6
Gisle Vanem <[email protected]> Fri, 22 Jan 2016 17:10:30 +0100
| Newsgroups | gmane.comp.web.polipo.user |
|---|---|
| Message-ID | <[email protected]> |
Gabriel Klyber wrote:
> These modifications require Windows Vista or newer. I am not sure how
> early you need to define WINVER, but in my environment, mingw.h was
> too late.
I'm not sure if your patch would pull in some Vista+ exports
from ws2_32.dll? Making it impossible to run Polipo on Win-XP.
But to just use 'struct pollfd', one can do:
struct win32_pollfd {
SOCKET fd; /* file descriptor */
short events; /* requested events */
short revents; /* returned events */
};
#define pollfd win32_pollfd
#define poll(x, y, z) win32_poll(x, y, z)
I'm not sure it's a god idea to *require* a specific WINVER
to build Polipo (default here in my SDK 8.1 is 0x0501).
There is AFAICS nothing in Polipo that needs anything more advanced
than is already in Win-XP (0x0501).
--gv
--
--gv
------------------------------------------------------------------------------
Site24x7 APM Insight: Get Deep Visibility into Application Performance
APM + Mobile APM + RUM: Monitor 3 App instances at just $35/Month
Monitor end-to-end web transactions and take corrective actions now
Troubleshoot faster and improve end-user experience. Signup Now!
http://pubads.g.doubleclick.net/gampad/clk?id=267308311&iu=/4140