diff options
author | Mathias Stearn <mathias@10gen.com> | 2012-07-09 18:11:54 -0400 |
---|---|---|
committer | Mathias Stearn <mathias@10gen.com> | 2012-07-10 17:56:28 -0400 |
commit | b113287f27810722b09fee13d66d4ca307872d96 (patch) | |
tree | dc377ef90f2ad1e348651c7b8e282bb4f7a406e5 /src/mongo/util/background.cpp | |
parent | 5dcd31a8f12ab35bfbcd32d59e27065a676264f0 (diff) | |
download | mongo-b113287f27810722b09fee13d66d4ca307872d96.tar.gz |
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
Diffstat (limited to 'src/mongo/util/background.cpp')
-rw-r--r-- | src/mongo/util/background.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/util/background.cpp b/src/mongo/util/background.cpp index 5aee43eeadd..5ae9c441213 100644 --- a/src/mongo/util/background.cpp +++ b/src/mongo/util/background.cpp @@ -92,7 +92,7 @@ namespace mongo { if ( msTimeOut ) { // add msTimeOut millisecond to current time boost::xtime xt; - boost::xtime_get( &xt, boost::TIME_UTC ); + boost::xtime_get( &xt, boost::TIME_UTC_ ); unsigned long long ns = msTimeOut * 1000000ULL; // milli to nano if ( xt.nsec + ns < 1000000000 ) { |