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 <cstdint>`
11 */
12
13#ifndef ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDINT_
14#define ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDINT_
15
16#include <stdint.h>
17
18namespace std {
19	using ::int8_t;
20	using ::int16_t;
21	using ::int32_t;
22	using ::int64_t;
23	using ::intmax_t;
24
25	using ::int_fast8_t;
26	using ::int_fast16_t;
27	using ::int_fast32_t;
28	using ::int_fast64_t;
29
30	using ::int_least8_t;
31	using ::int_least16_t;
32	using ::int_least32_t;
33	using ::int_least64_t;
34
35	using ::uint8_t;
36	using ::uint16_t;
37	using ::uint32_t;
38	using ::uint64_t;
39	using ::uintmax_t;
40
41	using ::uint_fast8_t;
42	using ::uint_fast16_t;
43	using ::uint_fast32_t;
44	using ::uint_fast64_t;
45
46	using ::uint_least8_t;
47	using ::uint_least16_t;
48	using ::uint_least32_t;
49	using ::uint_least64_t;
50
51	using ::intptr_t;
52	using ::uintptr_t;
53}
54
55#endif /* ZEPHYR_SUBSYS_CPP_INCLUDE_CSTDINT_ */
56
57