98 #if (BOOST_VERSION/100000) == 1 && ((BOOST_VERSION/100)%1000) > 48
100 template <
typename T>
102 return duration.count() < 0;
104 inline lib::chrono::milliseconds
milliseconds(
long duration) {
105 return lib::chrono::milliseconds(duration);
113 template <
typename T>
115 return duration.is_negative();
118 return boost::posix_time::milliseconds(duration);
122 using boost::system::error_code;
123 namespace errc = boost::system::errc;