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
This commit is contained in:
parent
5bf828dd34
commit
218f71e148
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue