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

2011-06-27 Thread Gisle Vanem
"Nick Mathewson" wrote: On Mon, Jun 20, 2011 at 6:32 PM, Gisle Vanem 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 ), '_WIN32_WINNT' *must*

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

2011-06-27 Thread Nick Mathewson
On Mon, Jun 20, 2011 at 6:32 PM, Gisle Vanem 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 ), '_WIN32_WINNT' *must* be defined as 0x0501

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

2011-06-20 Thread Gisle Vanem
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 ), '_WIN32_WINNT' *must* be defined as 0x0501 or higher. or/or.h blindly defines them as 0x0400. So, buil