minimal libcpp: Un-11-ify cstddef
Don't expose C++11 APIs unless we're building for that platform Signed-off-by: Andy Ross <andyross@google.com> squashme cdecl
This commit is contained in:
parent
728230a241
commit
7df2ca6e86
@ -18,8 +18,10 @@
|
||||
namespace std {
|
||||
using ::ptrdiff_t;
|
||||
using ::size_t;
|
||||
#if __cplusplus >= 201103L
|
||||
using ::max_align_t;
|
||||
using nullptr_t = decltype(nullptr);
|
||||
#endif
|
||||
}
|
||||
|
||||
#endif /* ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_ */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user