2 //===----------------------------------------------------------------------===//
4 // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
5 // See https://llvm.org/LICENSE.txt for license information.
6 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
8 //===----------------------------------------------------------------------===//
10 #ifndef _LIBCPP_CSTDINT
11 #define _LIBCPP_CSTDINT
145 #if __has_include(<stdint.h>)
149 #if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
150 # pragma GCC system_header
153 _LIBCPP_BEGIN_NAMESPACE_STD
155 using ::int8_t _LIBCPP_USING_IF_EXISTS;
156 using ::int16_t _LIBCPP_USING_IF_EXISTS;
157 using ::int32_t _LIBCPP_USING_IF_EXISTS;
158 using ::int64_t _LIBCPP_USING_IF_EXISTS;
160 using ::uint8_t _LIBCPP_USING_IF_EXISTS;
161 using ::uint16_t _LIBCPP_USING_IF_EXISTS;
162 using ::uint32_t _LIBCPP_USING_IF_EXISTS;
163 using ::uint64_t _LIBCPP_USING_IF_EXISTS;
165 using ::int_least8_t _LIBCPP_USING_IF_EXISTS;
166 using ::int_least16_t _LIBCPP_USING_IF_EXISTS;
167 using ::int_least32_t _LIBCPP_USING_IF_EXISTS;
168 using ::int_least64_t _LIBCPP_USING_IF_EXISTS;
170 using ::uint_least8_t _LIBCPP_USING_IF_EXISTS;
171 using ::uint_least16_t _LIBCPP_USING_IF_EXISTS;
172 using ::uint_least32_t _LIBCPP_USING_IF_EXISTS;
173 using ::uint_least64_t _LIBCPP_USING_IF_EXISTS;
175 using ::int_fast8_t _LIBCPP_USING_IF_EXISTS;
176 using ::int_fast16_t _LIBCPP_USING_IF_EXISTS;
177 using ::int_fast32_t _LIBCPP_USING_IF_EXISTS;
178 using ::int_fast64_t _LIBCPP_USING_IF_EXISTS;
180 using ::uint_fast8_t _LIBCPP_USING_IF_EXISTS;
181 using ::uint_fast16_t _LIBCPP_USING_IF_EXISTS;
182 using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
183 using ::uint_fast64_t _LIBCPP_USING_IF_EXISTS;
185 using ::intptr_t _LIBCPP_USING_IF_EXISTS;
186 using ::uintptr_t _LIBCPP_USING_IF_EXISTS;
188 using ::intmax_t _LIBCPP_USING_IF_EXISTS;
189 using ::uintmax_t _LIBCPP_USING_IF_EXISTS;
191 _LIBCPP_END_NAMESPACE_STD
193 #endif // _LIBCPP_CSTDINT