system.hpp 529 B

1234567891011121314151617181920
  1. // Copyright 2009-2010 Vicente J. Botet Escriba
  2. // Distributed under the Boost Software License, Version 1.0.
  3. // See http://www.boost.org/LICENSE_1_0.txt
  4. #ifndef BOOST_CHRONO_DETAIL_SYSTEM_HPP
  5. #define BOOST_CHRONO_DETAIL_SYSTEM_HPP
  6. #if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING
  7. #include <boost/system/error_code.hpp>
  8. #define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category()
  9. #define BOOST_CHRONO_THROWS boost::throws()
  10. #define BOOST_CHRONO_IS_THROWS(EC) (&EC==&boost::throws())
  11. #endif
  12. #endif