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