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
143 #if __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
144 # include <__cxx03/cstdint>
148 # if __has_include(<stdint.h>)
152 # if !defined(_LIBCPP_HAS_NO_PRAGMA_SYSTEM_HEADER)
153 # pragma GCC system_header
156 _LIBCPP_BEGIN_NAMESPACE_STD
158 using ::int8_t _LIBCPP_USING_IF_EXISTS;
159 using ::int16_t _LIBCPP_USING_IF_EXISTS;
160 using ::int32_t _LIBCPP_USING_IF_EXISTS;
161 using ::int64_t _LIBCPP_USING_IF_EXISTS;
163 using ::uint8_t _LIBCPP_USING_IF_EXISTS;
164 using ::uint16_t _LIBCPP_USING_IF_EXISTS;
165 using ::uint32_t _LIBCPP_USING_IF_EXISTS;
166 using ::uint64_t _LIBCPP_USING_IF_EXISTS;
168 using ::int_least8_t _LIBCPP_USING_IF_EXISTS;
169 using ::int_least16_t _LIBCPP_USING_IF_EXISTS;
170 using ::int_least32_t _LIBCPP_USING_IF_EXISTS;
171 using ::int_least64_t _LIBCPP_USING_IF_EXISTS;
173 using ::uint_least8_t _LIBCPP_USING_IF_EXISTS;
174 using ::uint_least16_t _LIBCPP_USING_IF_EXISTS;
175 using ::uint_least32_t _LIBCPP_USING_IF_EXISTS;
176 using ::uint_least64_t _LIBCPP_USING_IF_EXISTS;
178 using ::int_fast8_t _LIBCPP_USING_IF_EXISTS;
179 using ::int_fast16_t _LIBCPP_USING_IF_EXISTS;
180 using ::int_fast32_t _LIBCPP_USING_IF_EXISTS;
181 using ::int_fast64_t _LIBCPP_USING_IF_EXISTS;
183 using ::uint_fast8_t _LIBCPP_USING_IF_EXISTS;
184 using ::uint_fast16_t _LIBCPP_USING_IF_EXISTS;
185 using ::uint_fast32_t _LIBCPP_USING_IF_EXISTS;
186 using ::uint_fast64_t _LIBCPP_USING_IF_EXISTS;
188 using ::intptr_t _LIBCPP_USING_IF_EXISTS;
189 using ::uintptr_t _LIBCPP_USING_IF_EXISTS;
191 using ::intmax_t _LIBCPP_USING_IF_EXISTS;
192 using ::uintmax_t _LIBCPP_USING_IF_EXISTS;
194 _LIBCPP_END_NAMESPACE_STD
196 #endif // __cplusplus < 201103L && defined(_LIBCPP_USE_FROZEN_CXX03_HEADERS)
198 #endif // _LIBCPP_CSTDINT