summaryrefslogtreecommitdiff
path: root/ext/sockets/multicast.c
diff options
context:
space:
mode:
authorXinchen Hui <laruence@gmail.com>2017-04-10 14:47:42 +0800
committerXinchen Hui <laruence@gmail.com>2017-04-10 14:47:42 +0800
commit65d77812fcc0275aed58fd74b8d17d09a7e21ef2 (patch)
tree2ca8b2dc909ab2d88a949b6846cf128e9cb21538 /ext/sockets/multicast.c
parentd65459f4eb764a77668a8f870ea85f3bbd12a13c (diff)
parent4bebcb84ad47e687fc3ef3a01b875aa04dfb72d0 (diff)
downloadphp-git-65d77812fcc0275aed58fd74b8d17d09a7e21ef2.tar.gz
Merge branch 'PHP-7.0' into PHP-7.1
* PHP-7.0: Fixed condition check
Diffstat (limited to 'ext/sockets/multicast.c')
-rw-r--r--ext/sockets/multicast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/multicast.c b/ext/sockets/multicast.c
index 9f8bb6b959..24f374c55d 100644
--- a/ext/sockets/multicast.c
+++ b/ext/sockets/multicast.c
@@ -627,7 +627,7 @@ static int _php_source_op_to_ipv4_op(enum source_op sop)
#endif /* HAS_MCAST_EXT */
-#if PHP_WIN32
+#ifdef PHP_WIN32
int php_if_index_to_addr4(unsigned if_index, php_socket *php_sock, struct in_addr *out_addr)
{
MIB_IPADDRTABLE *addr_table;