123456789101112131415161718192021222324252627282930313233343536373839404142434445464748 |
- #ifndef BOOST_ASIO_DETAIL_CSTDINT_HPP
- #define BOOST_ASIO_DETAIL_CSTDINT_HPP
- #if defined(_MSC_VER) && (_MSC_VER >= 1200)
- # pragma once
- #endif
- #include <boost/asio/detail/config.hpp>
- #if defined(BOOST_ASIO_HAS_CSTDINT)
- # include <cstdint>
- #else
- # include <boost/cstdint.hpp>
- #endif
- namespace boost {
- namespace asio {
- #if defined(BOOST_ASIO_HAS_CSTDINT)
- using std::int16_t;
- using std::uint16_t;
- using std::int32_t;
- using std::uint32_t;
- using std::int64_t;
- using std::uint64_t;
- #else
- using boost::int16_t;
- using boost::uint16_t;
- using boost::int32_t;
- using boost::uint32_t;
- using boost::int64_t;
- using boost::uint64_t;
- #endif
- }
- }
- #endif
|