commit | 89b62a18a00f89b0b5f215a1f461aa432421fb63 | [log] [tgz] |
---|---|---|
author | Niko Catania | Fri Apr 10 10:51:53 2009 -0700 |
committer | The Android Open Source Project <initial-contribution@android.com> | Fri Apr 10 10:51:53 2009 -0700 |
tree | 84ee971b987d2208048c41fb7e5eafa5364c25cd | |
parent | 00a18f62a7c97299cea017578ec7ec179215492b [diff] [blame] |
AI 145714: Added cstring wrapper around string.h. In new, include cstddef which declares std::size_t. BUG=1601432 Automated import of CL 145714
diff --git a/libstdc++/include/new b/libstdc++/include/new index 559308b..19d8185 100644 --- a/libstdc++/include/new +++ b/libstdc++/include/new
@@ -1,11 +1,10 @@ +/* -*- c++ -*- */ #ifndef __NEW__ #define __NEW__ -#include <stddef.h> +#include <cstddef> namespace std { - using ::size_t; - struct nothrow_t {}; extern const nothrow_t nothrow; }