28 lines
473 B
Plaintext
28 lines
473 B
Plaintext
/*
|
|
* Copyright 2021 Google LLC
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
/**
|
|
* @file
|
|
*
|
|
* @brief Stub header allowing compilation of `#include <cstddef>`
|
|
*/
|
|
|
|
#ifndef ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_
|
|
#define ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_
|
|
|
|
#include <stddef.h>
|
|
|
|
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_ */
|