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

Eli Friedman eli.friedman at gmail.com
Fri May 28 13:10:06 PDT 2010


On Fri, May 28, 2010 at 11:04 AM, Howard Hinnant <hhinnant at apple.com> wrote:
> Author: hhinnant
> Date: Fri May 28 13:04:31 2010
> New Revision: 104982
>
> URL: http://llvm.org/viewvc/llvm-project?rev=104982&view=rev
> Log:
> Fixed [support.types].  <cstddef> wasn't definining NULL or offsetof.
>
> Modified:
>    libcxx/trunk/include/cstddef
>
> Modified: libcxx/trunk/include/cstddef
> URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cstddef?rev=104982&r1=104981&r2=104982&view=diff
> ==============================================================================
> --- libcxx/trunk/include/cstddef (original)
> +++ libcxx/trunk/include/cstddef Fri May 28 13:04:31 2010
> @@ -34,9 +34,11 @@
>  */
>
>  #include <__config>
> +#define __need_NULL
>  #define __need_ptrdiff_t
>  #define __need_size_t
>  #include <stddef.h>
> +#include <stddef.h>

Umm, what?

-Eli




More information about the cfe-commits mailing list