Mercurial > cpython-lru_cache-weakref
diff Modules/socketmodule.c @ 32913:89159a1268cc legacy-trunk
Restore compilation on MSVC++ 6.0
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Tue, 03 Aug 2004 08:52:46 +0000 |
| parents | 65319607bed8 |
| children | 90da70986407 |
line wrap: on
line diff
--- a/Modules/socketmodule.c Tue Aug 03 08:33:55 2004 +0000 +++ b/Modules/socketmodule.c Tue Aug 03 08:52:46 2004 +0000 @@ -281,6 +281,10 @@ #include "addrinfo.h" #endif +#if defined(_MSC_VER) && _MSC_VER == 1200 +#include "addrinfo.h" +#endif + #ifndef HAVE_INET_PTON int inet_pton(int af, const char *src, void *dst); const char *inet_ntop(int af, const void *src, char *dst, socklen_t size);
