summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNico Weber <nicolasweber@gmx.de>2014-05-16 01:45:02 +0000
committerNico Weber <nicolasweber@gmx.de>2014-05-16 01:45:02 +0000
commit218f71e14883c75fefb88e4d1af902ae538d7de0 (patch)
treee4732331ec53805461904cc063de1254688f8f41
parent5bf828dd34ab8c2c2c0df398c03dfe4f85525a9f (diff)
downloadbcm5719-llvm-218f71e14883c75fefb88e4d1af902ae538d7de0.tar.gz
bcm5719-llvm-218f71e14883c75fefb88e4d1af902ae538d7de0.zip
Update cstddef after clang r207606.
r207606 changed the __need_foo macros to behave like they do with gcc: If they are set, _only_ the __need_foo stuff gets defined. As a consequence, cstddef no longer defined "offsetof". It looks like the __need_foo defines aren't needed anymore, so just remove them. Fixes PR19723. llvm-svn: 208942
-rw-r--r--libcxx/include/cstddef6
1 files changed, 0 insertions, 6 deletions
diff --git a/libcxx/include/cstddef b/libcxx/include/cstddef
index 0030ec289a8..c3ca64a9c01 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -35,12 +35,6 @@ Types:
#include <__config>
-#ifdef __GLIBC__
-#define __need_NULL
-#define __need_ptrdiff_t
-#define __need_size_t
-#endif // __GLIBC__
-
#include <stddef.h>
#if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
OpenPOWER on IntegriCloud