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

Howard Hinnant hhinnant at apple.com
Fri May 28 11:04:31 PDT 2010


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>
 
 #pragma GCC system_header
 





More information about the cfe-commits mailing list