[cfe-commits] [libcxx] r105337 - /libcxx/trunk/include/cstddef

Howard Hinnant hhinnant at apple.com
Wed Jun 2 11:52:02 PDT 2010


On Jun 2, 2010, at 2:50 PM, Charles Davis wrote:

> On 6/2/10 12:41 PM, Howard Hinnant wrote:
>> I've reverted the changes needed for Ubuntu.  The changes for Ubuntu should go under a #if and I'm not sure what that #if should look like.
> Like this, maybe?
> 
> #ifdef __GLIBC__
> #define __need_NULL
> #define __need_ptrdiff_t
> #define __need_size_t
> #endif

That works for me.

-Howard





More information about the cfe-commits mailing list