diff --git a/adobe/timer.hpp b/adobe/timer.hpp index 8622e66..c0ef46d 100644 --- a/adobe/timer.hpp +++ b/adobe/timer.hpp @@ -182,7 +182,7 @@ public: #if ADOBE_PLATFORM_WIN (void)::QueryPerformanceCounter(&epoch_m); #elif defined(BOOST_HAS_THREADS) - boost::xtime_get(&epoch_m, boost::TIME_UTC); + boost::xtime_get(&epoch_m, boost::TIME_UTC_); #elif defined(BOOST_HAS_GETTIMEOFDAY) gettimeofday(&epoch_m, static_cast(0)); #endif @@ -206,7 +206,7 @@ public: (void)::QueryPerformanceCounter(&split_m); return (split_m.QuadPart - epoch_m.QuadPart) / static_cast(frequency_m.QuadPart) * double(1e3); #elif defined(BOOST_HAS_THREADS) - boost::xtime_get(&split_m, boost::TIME_UTC); + boost::xtime_get(&split_m, boost::TIME_UTC_); return ((split_m.sec - epoch_m.sec) * double(1e3) + (split_m.nsec - epoch_m.nsec) / double(1e6)); #elif defined(BOOST_HAS_GETTIMEOFDAY) gettimeofday(&split_m, static_cast(0)); diff --git a/documentation/html/timer_8hpp_source.html b/documentation/html/timer_8hpp_source.html index d5fc808..79a7f62 100644 --- a/documentation/html/timer_8hpp_source.html +++ b/documentation/html/timer_8hpp_source.html @@ -200,7 +200,7 @@ 00182 #if ADOBE_PLATFORM_WIN 00183 (void)::QueryPerformanceCounter(&epoch_m); 00184 #elif defined(BOOST_HAS_THREADS) -00185 boost::xtime_get(&epoch_m, boost::TIME_UTC); +00185 boost::xtime_get(&epoch_m, boost::TIME_UTC_); 00186 #elif defined(BOOST_HAS_GETTIMEOFDAY) 00187 gettimeofday(&epoch_m, static_cast<struct timezone*>(0)); 00188 #endif @@ -215,7 +215,7 @@ 00206 (void)::QueryPerformanceCounter(&split_m); 00207 return (split_m.QuadPart - epoch_m.QuadPart) / static_cast<double>(frequency_m.QuadPart) * double(1e3); 00208 #elif defined(BOOST_HAS_THREADS) -00209 boost::xtime_get(&split_m, boost::TIME_UTC); +00209 boost::xtime_get(&split_m, boost::TIME_UTC_); 00210 return ((split_m.sec - epoch_m.sec) * double(1e3) + (split_m.nsec - epoch_m.nsec) / double(1e6)); 00211 #elif defined(BOOST_HAS_GETTIMEOFDAY) 00212 gettimeofday(&split_m, static_cast<struct timezone*>(0)); diff --git a/source/zuid_sys_dep.cpp b/source/zuid_sys_dep.cpp index 8930dd7..bd54770 100644 --- a/source/zuid_sys_dep.cpp +++ b/source/zuid_sys_dep.cpp @@ -128,7 +128,7 @@ adobe::md5_t::digest_t get_generic_random_info() #endif { #if defined(BOOST_HAS_THREADS) - boost::xtime_get(&time_m, boost::TIME_UTC); + boost::xtime_get(&time_m, boost::TIME_UTC_); #endif #if defined(BOOST_HAS_UNISTD_H) gethostname(hostname_m, 256);