mirror of
https://github.com/python/cpython.git
synced 2025-08-02 08:02:56 +00:00
on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...
This commit is contained in:
parent
c06f5a45c3
commit
d25cdc370d
1 changed files with 3 additions and 2 deletions
|
@ -17,9 +17,10 @@
|
|||
# include <ws2tcpip.h>
|
||||
/* VC6 is shipped with old platform headers, and does not have MSTcpIP.h
|
||||
* Separate SDKs have all the functions we want, but older ones don't have
|
||||
* any version information. I use IPPROTO_IPV6 to detect a decent SDK.
|
||||
* any version information.
|
||||
* I use SIO_GET_MULTICAST_FILTER to detect a decent SDK.
|
||||
*/
|
||||
# ifdef IPPROTO_IPV6
|
||||
# ifdef SIO_GET_MULTICAST_FILTER
|
||||
# include <MSTcpIP.h> /* for SIO_RCVALL */
|
||||
# define HAVE_ADDRINFO
|
||||
# define HAVE_SOCKADDR_STORAGE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue