From bf19838c874de166ea01de33a38b14cbaf8b3a76 Mon Sep 17 00:00:00 2001 From: Gustavo Lopes Date: Thu, 20 Sep 2012 23:31:10 +0200 Subject: [PATCH] Do not disable RFC3678 multicast API on Windows 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 | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h index 5619c9c7fb2..9470a39ca25 100644 --- a/ext/sockets/multicast.h +++ b/ext/sockets/multicast.h @@ -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