|
MingW and _WIN32_WINNT: msg#00019web.wget.patches
The below patches is needed with the latest MingW headers (e.g. <ws2tcpip.h>). I'll not go into as to why one should need it... --- SVN-Latest/windows/config-compiler.h Wed Nov 01 15:31:42 2006 +++ windows/config-compiler.h Tue Dec 12 11:09:47 2006 @@ -91,6 +91,15 @@ #define HAVE_UINTPTR_T 1 #define HAVE_STRTOLL 1 + +/* MingW needs _WIN32_WINNT==0x0501 defined to pull in getaddrinfo() + * and freeaddrinfo() etc. + */ +#if !defined(_WIN32_WINNT) || (_WIN32_WINNT < 0x0501) +#undef _WIN32_WINNT +#define _WIN32_WINNT 0x0501 +#endif + ♀ /* -------------------- */ /* MS Visual C section. */ --gv |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | feature request: 00019, Paul Wang |
|---|---|
| Next by Date: | Hey dude top brands available for you: 00019, Michael Pearce |
| Previous by Thread: | feature requesti: 00019, Paul Wang |
| Next by Thread: | Re: MingW and _WIN32_WINNT: 00019, Mauro Tortonesi |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |