mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
Restore compilation on MSVC++ 6.0
This commit is contained in:
parent
a41276956d
commit
cbcff93d49
2 changed files with 8 additions and 2 deletions
|
@ -281,6 +281,10 @@ int h_errno; /* not used */
|
|||
#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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue