blob: 42154d58519e7fe22c74bd8cc82a3616c1cbbadf [file] [log] [blame]
/*
* 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_ */