Ticket #7042: 7042.patch
File 7042.patch, 1.4 KB (added by , 10 years ago) |
---|
-
detail/system.hpp
6 6 #ifndef BOOST_CHRONO_DETAIL_SYSTEM_HPP 7 7 #define BOOST_CHRONO_DETAIL_SYSTEM_HPP 8 8 9 #if !defined BOOST_CHRONO_DONT_PROVIDE_HYBRID_ERROR_HANDLING 10 9 11 #include <boost/version.hpp> 10 12 #include <boost/system/error_code.hpp> 11 13 … … 15 17 #define BOOST_CHRONO_SYSTEM_CATEGORY boost::system::system_category() 16 18 #endif 17 19 18 #ifdef BOOST_SYSTEM_NO_DEPRECATED 20 #ifdef BOOST_SYSTEM_NO_DEPRECATED 19 21 #define BOOST_CHRONO_THROWS boost::throws() 20 22 #define BOOST_CHRONO_IS_THROWS(EC) (&EC==&boost::throws()) 21 23 #else … … 24 26 #endif 25 27 26 28 #endif 29 #endif -
config.hpp
70 70 # if defined( BOOST_CHRONO_POSIX_API ) 71 71 # define BOOST_CHRONO_HAS_PROCESS_CLOCKS 72 72 # include <time.h> //to check for CLOCK_REALTIME and CLOCK_MONOTONIC and _POSIX_THREAD_CPUTIME 73 # if defined(CLOCK_REALTIME) 74 # if defined(CLOCK_MONOTONIC) 75 # define BOOST_CHRONO_HAS_CLOCK_STEADY 76 # endif 77 # else 78 # error <time.h> does not supply CLOCK_REALTIME 73 # if defined(CLOCK_MONOTONIC) 74 # define BOOST_CHRONO_HAS_CLOCK_STEADY 79 75 # endif 80 76 # if defined(_POSIX_THREAD_CPUTIME) && !defined(BOOST_DISABLE_THREADS) 81 77 # define BOOST_CHRONO_HAS_THREAD_CLOCK