mcast patch breaks mac build for 5.5

From: Date: Sun, 17 Feb 2013 09:54:23 +0000
Subject: mcast patch breaks mac build for 5.5
Groups: php.internals 
Request: Send a blank email to internals+get-65895@lists.php.net to get a copy of this message
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

« previous php.internals (#65895) next »