mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Patch #520062: Support IPv6 with VC.NET.
This commit is contained in:
parent
31e233aa7a
commit
272cb40e31
3 changed files with 17 additions and 0 deletions
|
@ -408,7 +408,11 @@ typedef int pid_t;
|
|||
/* #undef size_t */
|
||||
|
||||
/* Define to `int' if <sys/types.h> doesn't define. */
|
||||
#if _MSC_VER + 0 >= 1300
|
||||
/* VC.NET typedefs socklen_t in ws2tcpip.h. */
|
||||
#else
|
||||
#define socklen_t int
|
||||
#endif
|
||||
|
||||
/* Define if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue