| 1 | // |
| 2 | // detail/cstdint.hpp |
| 3 | // ~~~~~~~~~~~~~~~~~~ |
| 4 | // |
| 5 | // Copyright (c) 2003-2024 Christopher M. Kohlhoff (chris at kohlhoff dot com) |
| 6 | // |
| 7 | // Distributed under the Boost Software License, Version 1.0. (See accompanying |
| 8 | // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) |
| 9 | // |
| 10 | |
| 11 | #ifndef BOOST_ASIO_DETAIL_CSTDINT_HPP |
| 12 | #define BOOST_ASIO_DETAIL_CSTDINT_HPP |
| 13 | |
| 14 | #if defined(_MSC_VER) && (_MSC_VER >= 1200) |
| 15 | # pragma once |
| 16 | #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) |
| 17 | |
| 18 | #include <boost/asio/detail/config.hpp> |
| 19 | #include <cstdint> |
| 20 | |
| 21 | namespace boost { |
| 22 | namespace asio { |
| 23 | |
| 24 | using std::int16_t; |
| 25 | using std::int_least16_t; |
| 26 | using std::uint16_t; |
| 27 | using std::uint_least16_t; |
| 28 | using std::int32_t; |
| 29 | using std::int_least32_t; |
| 30 | using std::uint32_t; |
| 31 | using std::uint_least32_t; |
| 32 | using std::int64_t; |
| 33 | using std::int_least64_t; |
| 34 | using std::uint64_t; |
| 35 | using std::uint_least64_t; |
| 36 | using std::uintptr_t; |
| 37 | using std::uintmax_t; |
| 38 | |
| 39 | } // namespace asio |
| 40 | } // namespace boost |
| 41 | |
| 42 | #endif // BOOST_ASIO_DETAIL_CSTDINT_HPP |
| 43 | |