[Python-checkins] r64269 - python/trunk/Modules/socketmodule.h

amaury.forgeotdarc python-checkins at python.org
Sat Jun 14 10:36:07 CEST 2008


Author: amaury.forgeotdarc
Date: Sat Jun 14 10:36:07 2008
New Revision: 64269
Log:
on windows, r64214 broke compilation with some recent SDKs,
because IPPROTO_IPV6 may be an enumeration member...
Modified:
 python/trunk/Modules/socketmodule.h
Modified: python/trunk/Modules/socketmodule.h
==============================================================================
--- python/trunk/Modules/socketmodule.h	(original)
+++ python/trunk/Modules/socketmodule.h	Sat Jun 14 10:36:07 2008
@@ -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


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /