php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #75721
Patch FreeBSD-use-IP_ADD_MEMBERSHIP.patch revision 2017-12-22 01:18 UTC by jonathan at tangential dot ca

Patch FreeBSD-use-IP_ADD_MEMBERSHIP.patch for Sockets related Bug #75721

Patch version 2017-12-22 01:18 UTC

Return to Bug #75721 | Download this patch
Patch Revisions:

Developer: jonathan@tangential.ca

diff --git a/ext/sockets/multicast.h b/ext/sockets/multicast.h
index e3009d7..1605637 100644
--- a/ext/sockets/multicast.h
+++ b/ext/sockets/multicast.h
@@ -18,7 +18,7 @@
 
 /* $Id$ */
 
-#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__)
+#if defined(MCAST_JOIN_GROUP) && !defined(__APPLE__) && !defined(__FreeBSD__)
 # define RFC3678_API 1
 /* has block/unblock and source membership, in this case for both IPv4 and IPv6 */
 # define HAS_MCAST_EXT 1
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 22:01:26 2020 UTC