// // detail/cstdint.hpp // ~~~~~~~~~~~~~~~~~~ // // Copyright (c) 2003-2018 Christopher M. Kohlhoff (chris at kohlhoff dot com) // // Distributed under the Boost Software License, Version 1.0. (See accompanying // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) // #ifndef BOOST_ASIO_DETAIL_CSTDINT_HPP #define BOOST_ASIO_DETAIL_CSTDINT_HPP #if defined(_MSC_VER) && (_MSC_VER >= 1200) # pragma once #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) #include #if defined(BOOST_ASIO_HAS_CSTDINT) # include #else // defined(BOOST_ASIO_HAS_CSTDINT) # include #endif // defined(BOOST_ASIO_HAS_CSTDINT) namespace lslboost { namespace asio { #if defined(BOOST_ASIO_HAS_CSTDINT) using std::int16_t; using std::int_least16_t; using std::uint16_t; using std::uint_least16_t; using std::int32_t; using std::int_least32_t; using std::uint32_t; using std::uint_least32_t; using std::int64_t; using std::int_least64_t; using std::uint64_t; using std::uint_least64_t; using std::uintmax_t; #else // defined(BOOST_ASIO_HAS_CSTDINT) using lslboost::int16_t; using lslboost::int_least16_t; using lslboost::uint16_t; using lslboost::uint_least16_t; using lslboost::int32_t; using lslboost::int_least32_t; using lslboost::uint32_t; using lslboost::uint_least32_t; using lslboost::int64_t; using lslboost::int_least64_t; using lslboost::uint64_t; using lslboost::uint_least64_t; using lslboost::uintmax_t; #endif // defined(BOOST_ASIO_HAS_CSTDINT) } // namespace asio } // namespace lslboost #endif // BOOST_ASIO_DETAIL_CSTDINT_HPP