Skip to content

Commit bf19838

Browse files
committed
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.
1 parent fa5477d commit bf19838

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Diff for: ext/sockets/multicast.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@
1818

1919
/* $Id$ */
2020

21-
#if defined(MCAST_JOIN_GROUP) && \
22-
(!defined(PHP_WIN32) || (_WIN32_WINNT >= 0x600 && SOCKETS_ENABLE_VISTA_API)) && \
23-
!defined(__APPLE__)
21+
#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__)
2422
#define RFC3678_API 1
2523
/* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
2624
#define HAS_MCAST_EXT 1

0 commit comments

Comments
 (0)