diff options
author | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-14 08:36:07 +0000 |
---|---|---|
committer | Amaury Forgeot d'Arc <amauryfa@gmail.com> | 2008-06-14 08:36:07 +0000 |
commit | 7d32bdc13a3c54ec54d4f8ec330e7f7a632f9c5a (patch) | |
tree | c081dc8b53119700692d22c535b2532c28660afc /Modules/socketmodule.h | |
parent | 40fe1f28fc38cdfbd41f1ad422659368ac21f60b (diff) | |
download | cpython-7d32bdc13a3c54ec54d4f8ec330e7f7a632f9c5a.tar.gz |
on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...
Diffstat (limited to 'Modules/socketmodule.h')
-rw-r--r-- | Modules/socketmodule.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Modules/socketmodule.h b/Modules/socketmodule.h index 44483cb35b..ef8d0fca8e 100644 --- a/Modules/socketmodule.h +++ b/Modules/socketmodule.h @@ -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 |