Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/llvm/llvm-project.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHoward Hinnant <hhinnant@apple.com>2010-05-24 21:49:41 +0400
committerHoward Hinnant <hhinnant@apple.com>2010-05-24 21:49:41 +0400
commit128ba7191da78d948b72b9c7adddc37002b391ef (patch)
tree777573e0e91f4127e3b389583832de434bff15fc /libcxx/include/cstddef
parent8a57aeca2abfbdd7659af285c10af9e82ba7783d (diff)
patch by Jeffrey Yasskin for porting to Ubuntu Hardy. Everything was accepted except there were some bug fixes needed in <locale> for the __nolocale_* series. For the apple branch I ended up using templates instead of the var_args solution because it seemed both safer and more efficient.
llvm-svn: 104516
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 11d07a2ec292..efe0f61c7552 100644
--- a/libcxx/include/cstddef
+++ b/libcxx/include/cstddef
@@ -34,6 +34,8 @@ Types:
*/
#include <__config>
+#define __need_ptrdiff_t
+#define __need_size_t
#include <stddef.h>
#pragma GCC system_header