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

Sean Hunt rideau3 at gmail.com
Fri May 28 14:10:19 PDT 2010


On 05/28/2010 02:12 PM, Howard Hinnant wrote:
> <chuckle>  I know, I know.  On Mac OS the first trip through<stddef.h>  doesn't define offsetof.  Or said differently, offsetof doesn't get defined if any of __need_* are defined.  The first trip creates the desired macros and #undefines the request.  The second trip creates offsetof.<shrug>
>
> -Howard

Could a comment be included to that effect so that someone doesn't just 
go and remove it because they saw a redundant include?

Sean




More information about the cfe-commits mailing list