[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [tor-dev] WIN32_WINNT in or/or.h



On Mon, Jun 20, 2011 at 6:32 PM, Gisle Vanem <gvanem@xxxxxxxxxxxx>juswrote:
> I think that the values for 'WIN32_WINNT' and '_WIN32_WINNT'
> should be protected against redefinement.
> Reason: In order for MingW to prototype getaddrinfo() and freeaddrinfo()
> correctly (in <ws2tcpip.h>), '_WIN32_WINNT' *must* be defined as 0x0501
> or higher. or/or.h blindly defines them as 0x0400. So, building with
> -DHAVE_GETADDRINFO needs _WIN32_WINNT to be set to 0x0501.

I'm confused about the situation here.  Does "-DHAVE_GETADDRINFO" mean
that you're overriding the value in orconfig.h from the command line,
and presumably setting your own _WIN32_WINNT value there too?

-- 
Nick
_______________________________________________
tor-dev mailing list
tor-dev@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-dev