From b113287f27810722b09fee13d66d4ca307872d96 Mon Sep 17 00:00:00 2001 From: Mathias Stearn Date: Mon, 9 Jul 2012 18:11:54 -0400 Subject: SERVER-6340 Use TIME_UTC_ rather than TIME_UTC This avoids a compilation failure with glibc-2.16 or any other C11 libc. Boost made the same change for boost-1.50: https://svn.boost.org/trac/boost/ticket/6940 --- src/mongo/util/queue.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mongo/util/queue.h') diff --git a/src/mongo/util/queue.h b/src/mongo/util/queue.h index c5a363cae87..581eb722e61 100644 --- a/src/mongo/util/queue.h +++ b/src/mongo/util/queue.h @@ -121,7 +121,7 @@ namespace mongo { Timer timer; boost::xtime xt; - boost::xtime_get(&xt, boost::TIME_UTC); + boost::xtime_get(&xt, boost::TIME_UTC_); xt.sec += maxSecondsToWait; scoped_lock l( _lock ); @@ -143,7 +143,7 @@ namespace mongo { Timer timer; boost::xtime xt; - boost::xtime_get(&xt, boost::TIME_UTC); + boost::xtime_get(&xt, boost::TIME_UTC_); xt.sec += maxSecondsToWait; scoped_lock l( _lock ); -- cgit v1.2.1