summaryrefslogtreecommitdiff
path: root/include/cstddef
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-06-02 18:53:22 +0000
committerHoward Hinnant <hhinnant@apple.com>2010-06-02 18:53:22 +0000
commited30e070ac84191fc69078663d6a46cb88840cec (patch)
treedf33acb04f8c61662c454b583bdfdfd52e1f7a17 /include/cstddef
parentb6184db9c5ac425a21cd1c7561aaebc1316499be (diff)
for Ubuntu
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@105338 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/cstddef')
-rw-r--r--include/cstddef7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/cstddef b/include/cstddef
index 11d07a2ec..f6b34ad5c 100644
--- a/include/cstddef
+++ b/include/cstddef
@@ -34,6 +34,13 @@ Types:
*/
#include <__config>
+
+#ifdef __GLIBC__
+#define __need_NULL
+#define __need_ptrdiff_t
+#define __need_size_t
+#endif
+
#include <stddef.h>
#pragma GCC system_header