On Nov 7, 2008, at 7:52 AM, Argiris Kirtzidis wrote:

> Anders Carlsson wrote:
>>
>> malloc.h isn't available on all systems - it's not available in OS X
>> for example. What platform requires this?
>
> Oh sorry, I didn't know that.
> Mingw requires this. Is it ok if I put mingw-specific #if/defs  
> around it ?

Another possibility is to test if alloca is present; #ifdef alloca?   
If it isn't, we just #ifdef out the function in stack-addr-ps.c that  
uses alloca.
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to