]> granicus.if.org Git - php/commit
Cleanup some multicast code; fix for mac os x?
authorGustavo Lopes <glopes@nebm.ist.utl.pt>
Sun, 17 Feb 2013 12:23:07 +0000 (13:23 +0100)
committerGustavo Lopes <glopes@nebm.ist.utl.pt>
Sun, 17 Feb 2013 21:42:58 +0000 (22:42 +0100)
commit91538e4e13908a8cfcb25c5286e4222ef4077a7e
tree56c2b4ca20b40c9aaedbaf405a2daca5fdfaf744
parent17c6389e9e3e5f138872c696a80acc78e923da68
Cleanup some multicast code; fix for mac os x?

When I moved some stuff from sockets.c to multicast.c, I did not copy
some conditional defines for systems without the RFC 3678 API.

I moved such defines to multicast.h so both sockets.c and multicast.c
can benefit from them and I prefixed them with PHP_ so that it's less
confusing: now PHP_MCAST_* are defined to either the MCAST_* RFC 3678
APIs or to legacy APIs and MCAST_* always mean the (possibly undefined)
system definitions.
ext/sockets/multicast.c
ext/sockets/multicast.h
ext/sockets/sockets.c