Mercurial > hg > vamp-build-and-test
annotate DEPENDENCIES/generic/include/boost/chrono/detail/system.hpp @ 125:34e428693f5d vext
Vext -> Repoint
author | Chris Cannam |
---|---|
date | Thu, 14 Jun 2018 11:15:39 +0100 |
parents | 2665513ce2d3 |
children |
rev | line source |
---|---|
Chris@16 | 1 // Copyright 2009-2010 Vicente J. Botet Escriba |
Chris@16 | 2 |
Chris@16 | 3 // Distributed under the Boost Software License, Version 1.0. |
Chris@16 | 4 // See http://www.boost.org/LICENSE_1_0.txt |
Chris@16 | 5 |
Chris@16 | 6 #ifndef BOOST_CHRONO_DETAIL_SYSTEM_HPP |
Chris@16 | 7 #define BOOST_CHRONO_DETAIL_SYSTEM_HPP |
Chris@16 | 8 |
Chris@16 | 9 #if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING |
Chris@16 | 10 |
Chris@16 | 11 #include <boost/version.hpp> |
Chris@16 | 12 #include <boost/system/error_code.hpp> |
Chris@16 | 13 |
Chris@16 | 14 #if ((BOOST_VERSION / 100000) < 2) && ((BOOST_VERSION / 100 % 1000) < 44) |
Chris@16 | 15 #define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category |
Chris@16 | 16 #else |
Chris@16 | 17 #define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category() |
Chris@16 | 18 #endif |
Chris@16 | 19 |
Chris@16 | 20 #ifdef BOOST_SYSTEM_NO_DEPRECATED |
Chris@16 | 21 #define BOOST_CHRONO_THROWS boost::throws() |
Chris@16 | 22 #define BOOST_CHRONO_IS_THROWS(EC) (&EC==&boost::throws()) |
Chris@16 | 23 #else |
Chris@16 | 24 #define BOOST_CHRONO_THROWS boost::system::throws |
Chris@16 | 25 #define BOOST_CHRONO_IS_THROWS(EC) (&EC==&boost::system::throws) |
Chris@16 | 26 #endif |
Chris@16 | 27 |
Chris@16 | 28 #endif |
Chris@16 | 29 #endif |