]> granicus.if.org Git - php/commitdiff
Do not disable RFC3678 multicast API on Windows
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Thu, 20 Sep 2012 21:31:10 +0000 (23:31 +0200)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Thu, 20 Sep 2012 21:36:20 +0000 (23:36 +0200)
The API is supported since Windows Vista and requires targeting Vista
when compiling PHP. Pierre had asked to disable this by default, even
when targeting Vista/Windows Server 2008.

Since XP will not be supported anymore on php-next, any rationale
for this option will not apply anymore.

ext/sockets/multicast.h

index 5619c9c7fb29386fd1d5f1879f3188167a134b35..9470a39ca25618cace594d27fccc8ef45d58bf4e 100644 (file)
@@ -18,9 +18,7 @@
 
 /* $Id$ */
 
-#if defined(MCAST_JOIN_GROUP) && \
-       (!defined(PHP_WIN32) || (_WIN32_WINNT >= 0x600 && SOCKETS_ENABLE_VISTA_API)) && \
-       !defined(__APPLE__)
+#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__)
 #define RFC3678_API 1
 /* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
 #define HAS_MCAST_EXT 1