summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo André dos Santos Lopes <cataphract@php.net>2012-03-04 19:17:49 +0000
committerGustavo André dos Santos Lopes <cataphract@php.net>2012-03-04 19:17:49 +0000
commit0e9c20ec12815530bddf9bf8c847aecc714a7f1e (patch)
tree1db86ba91e94ddf9913cbd0751193ecc94585f10
parent0ed3b00406a4486635ce6086d9bb3ed585b89a1d (diff)
downloadphp-git-0e9c20ec12815530bddf9bf8c847aecc714a7f1e.tar.gz
- Allow Windows builds targeting Vista and above have access to the RFC 3678
API for multicasting.
-rw-r--r--ext/sockets/multicast.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h
index ccd9b1d2a8..1b8c3c9e0a 100644
--- a/ext/sockets/multicast.h
+++ b/ext/sockets/multicast.h
@@ -18,8 +18,7 @@
/* $Id$ */
-#if defined(MCAST_JOIN_GROUP) && \
- (!defined(PHP_WIN32) || (_WIN32_WINNT >= 0x600 && SOCKETS_ENABLE_VISTA_API))
+#if defined(MCAST_JOIN_GROUP)
#define RFC3678_API 1
/* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
#define HAS_MCAST_EXT 1