on windows, r64214 broke compilation with some recent SDKs,
authorAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 14 Jun 2008 08:36:07 +0000 (08:36 +0000)
committerAmaury Forgeot d'Arc <amauryfa@gmail.com>
Sat, 14 Jun 2008 08:36:07 +0000 (08:36 +0000)
because IPPROTO_IPV6 may be an enumeration member...

Modules/socketmodule.h

index 44483cb35b5a5cdd4f9aba2b81f426d94c9c9d05..ef8d0fca8edaccba2f8da9a32c22d57e97e2eb66 100644 (file)
 # 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