[cfe-commits] r58849 - /cfe/trunk/test/Analysis/stack-addr-ps.c

Ted Kremenek kremenek at apple.com
Fri Nov 7 09:04:52 PST 2008


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 ?

That's fine.  It's only in the test case, not the source code of Clang  
itself.  We have #if/defs elsewhere too in the test suite (e.g.,  
SemaObjC/cocoa.m).



More information about the cfe-commits mailing list