Hi!

I've tried to build 5.5 on my Mac today and I got this:

Users/smalyshev/php-5.5/ext/sockets/multicast.c: In function
‘php_do_mcast_opt’:
/Users/smalyshev/php-5.5/ext/sockets/multicast.c:155: error:
‘MCAST_JOIN_GROUP’ undeclared (first use in this function)
/Users/smalyshev/php-5.5/ext/sockets/multicast.c:155: error: (Each
undeclared identifier is reported only once
/Users/smalyshev/php-5.5/ext/sockets/multicast.c:155: error: for each
function it appears in.)
/Users/smalyshev/php-5.5/ext/sockets/multicast.c:158: error:
‘MCAST_LEAVE_GROUP’ undeclared (first use in this function)

And more like this. Seems to be introduced by:
https://github.com/php/php-src/commit/51394f76a5fca718fbf218888d97402f845ee261

Looks like it's 10.7-only feature, so can it be ifdef'ed or something if
so?
-- 
Stanislav Malyshev, Software Architect
SugarCRM: http://www.sugarcrm.com/
(408)454-6900 ext. 227

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to