1/* 2 * Copyright 2021 Google LLC 3 * 4 * SPDX-License-Identifier: Apache-2.0 5 */ 6 7/** 8 * @file 9 * 10 * @brief Stub header allowing compilation of `#include <cstddef>` 11 */ 12 13#ifndef ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_ 14#define ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_ 15 16#include <stddef.h> 17 18namespace std { 19 using ::ptrdiff_t; 20 using ::size_t; 21#if __cplusplus >= 201103L 22 using ::max_align_t; 23 using nullptr_t = decltype(nullptr); 24#endif 25} 26 27#endif /* ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDDEF_ */ 28