[asterisk-dev] [asterisk-commits] file: trunk r89397 - /trunk/include/asterisk/compat.h

Luigi Rizzo rizzo at icir.org
Sun Nov 18 11:23:50 CST 2007


On Sun, Nov 18, 2007 at 05:03:38PM -0000, SVN commits to the Asterisk project wrote:
> Author: file
> Date: Sun Nov 18 11:03:38 2007
> New Revision: 89397
> 
> URL: http://svn.digium.com/view/asterisk?view=rev&rev=89397
> Log:
> Revert last commit, apparently buildbot lied to me.

for the records, the <malloc.h> was to help cross builds for mingw32,
where the alloca() magic is defined in malloc.h

If the risk of breaking other platforms is too high, let's just
use a platform-specific include:

#ifdef __MINGW32__
#include <malloc.h>
#endif


cheers
luigi



More information about the asterisk-dev mailing list