11 #ifndef ASIO_SYSTEM_TIMER_HPP 12 #define ASIO_SYSTEM_TIMER_HPP 14 #if defined(_MSC_VER) && (_MSC_VER >= 1200) 16 #endif // defined(_MSC_VER) && (_MSC_VER >= 1200) 20 #if defined(ASIO_HAS_STD_CHRONO) \ 21 || defined(ASIO_HAS_BOOST_CHRONO) \ 22 || defined(GENERATING_DOCUMENTATION) 24 #if defined(ASIO_HAS_STD_CHRONO) 26 #elif defined(ASIO_HAS_BOOST_CHRONO) 27 # include <boost/chrono/system_clocks.hpp> 34 #if defined(GENERATING_DOCUMENTATION) 44 typedef basic_waitable_timer<chrono::system_clock> system_timer;
45 #elif defined(ASIO_HAS_STD_CHRONO) 46 typedef basic_waitable_timer<std::chrono::system_clock> system_timer;
47 #elif defined(ASIO_HAS_BOOST_CHRONO) 48 typedef basic_waitable_timer<boost::chrono::system_clock> system_timer;
53 #endif // defined(ASIO_HAS_STD_CHRONO) 57 #endif // ASIO_SYSTEM_TIMER_HPP