AI 145159: am: CL 145059 (Almost) final set of wrapper around the C headers for stdc++ and their tests.
The only one left is cstring.
* bionic/libstdc++/include/cstdlib:
* bionic/libstdc++/include/cstdio:
* bionic/libstdc++/include/cstdint:
* bionic/libstdc++/include/csignal:
* bionic/libstdc++/include/csetjmp:
Added header file.
Checks the bionic headers file were picked up instead of the host ones.
Added test for new header files
* system/extras/tests/bionic/libstdc++/Android.mk:
Added tests for the new header files.
EXTRA_CFLAGS: include the bionic header files.
Original author: niko
Automated import of CL 145159
diff --git a/libstdc++/include/cstddef b/libstdc++/include/cstddef
index 31c1bd1..fc1ca9d 100644
--- a/libstdc++/include/cstddef
+++ b/libstdc++/include/cstddef
@@ -39,8 +39,8 @@
#include <stddef.h>
namespace std {
- using ::ptrdiff_t;
- using ::size_t;
+using ::ptrdiff_t;
+using ::size_t;
} // namespace std
#endif // BIONIC_LIBSTDCPP_INCLUDE_CSTDDEF__