[libcxx] r208942 - Update cstddef after clang r207606.
Nico Weber
nicolasweber at gmx.de
Thu May 15 18:45:02 PDT 2014
Author: nico
Date: Thu May 15 20:45:02 2014
New Revision: 208942
URL: http://llvm.org/viewvc/llvm-project?rev=208942&view=rev
Log:
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.
Modified:
libcxx/trunk/include/cstddef
Modified: libcxx/trunk/include/cstddef
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/include/cstddef?rev=208942&r1=208941&r2=208942&view=diff
==============================================================================
--- libcxx/trunk/include/cstddef (original)
+++ libcxx/trunk/include/cstddef Thu May 15 20:45:02 2014
@@ -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)
More information about the cfe-commits
mailing list