com php-src: Do not disable RFC3678 multicast API on Windows: ext/sockets/multicast.h
| From: | Gustavo André dos Santos Lopes | Date: | Thu, 20 Sep 2012 21:36:20 +0000 |
| Subject: | com php-src: Do not disable RFC3678 multicast API on Windows: ext/sockets/multicast.h | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-70206@lists.php.net to get a copy of this message | ||
Commit: bf19838c874de166ea01de33a38b14cbaf8b3a76
Author: Gustavo Lopes <glopes@nebm.ist.utl.pt> Thu, 20 Sep 2012 23:31:10 +0200
Parents: fa5477d9d45f076f4b4a6c50252668e2a437230b
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=bf19838c874de166ea01de33a38b14cbaf8b3a76
Log:
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.
Changed paths:
M ext/sockets/multicast.h
Diff:
diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h
index 5619c9c..9470a39 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