|
From: James S. <jam...@op...> - 2006-08-25 05:38:34
|
On Fri, 2006-08-25 at 15:26 +1000, James Steward wrote: > In the ws2tcpip.h I see > #if (_WIN32_WINNT >= 0x0501) > > ---declaration of getaddrinfo > > #else > /* FIXME ... I think I've just answered my own question. I added #define _WIN32_WINNT 0x501 to the very top of the file and it seems to compile and run! Was this the right thing to do? I didn't see this documented in the MSDN help - but that's not saying much :) Cheers, JS. |