summaryrefslogtreecommitdiffstats
path: root/libcxx/include/cstddef
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-05-28 18:04:31 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-05-28 18:04:31 +0000
commitbc3c5dc7670b825effe135f5de18ba04d7b4f7fe (patch)
tree3eb0b52dd1e20382d38112a6d3aecb2f6dd9be17 /libcxx/include/cstddef
parentb342e09b5e5403eee8195638db17208b4d948557 (diff)
downloadbcm5719-llvm-bc3c5dc7670b825effe135f5de18ba04d7b4f7fe.tar.gz
bcm5719-llvm-bc3c5dc7670b825effe135f5de18ba04d7b4f7fe.zip
Fixed [support.types]. <cstddef> wasn't definining NULL or offsetof.
llvm-svn: 104982
Diffstat (limited to 'libcxx/include/cstddef')
-rw-r--r--libcxx/include/cstddef2
1 files changed, 2 insertions, 0 deletions
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef
index efe0f61c755..8264a8b29ca 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -34,9 +34,11 @@ Types:
*/
#include <__config>
+#define __need_NULL
#define __need_ptrdiff_t
#define __need_size_t
#include <stddef.h>
+#include <stddef.h>
#pragma GCC system_header
OpenPOWER on IntegriCloud