|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r84709 - in trunk: boost/thread/detail libs/thread/build
From: vicente.botet_at_[hidden]
Date: 2013-06-09 04:27:00
Author: viboes
Date: 2013-06-09 04:27:00 EDT (Sun, 09 Jun 2013)
New Revision: 84709
URL: http://svn.boost.org/trac/boost/changeset/84709
Log:
Thread: force use of chrono on windows.
Text files modified:
trunk/boost/thread/detail/config.hpp | 5 +++++
trunk/libs/thread/build/Jamfile.v2 | 5 ++++-
2 files changed, 9 insertions(+), 1 deletions(-)
Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp Sun Jun 9 04:07:47 2013 (r84708)
+++ trunk/boost/thread/detail/config.hpp 2013-06-09 04:27:00 EDT (Sun, 09 Jun 2013) (r84709)
@@ -318,6 +318,11 @@
#define BOOST_THREAD_USES_DATETIME
#endif
+#if defined(BOOST_THREAD_PLATFORM_WIN32) && defined BOOST_THREAD_DONT_USE_CHRONO
+#undef BOOST_THREAD_DONT_USE_CHRONO
+#define BOOST_THREAD_USES_CHRONO
+#endif
+
// BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0 defined by default up to Boost 1.55
// BOOST_THREAD_DONT_PROVIDE_DEPRECATED_FEATURES_SINCE_V3_0_0 defined by default up to Boost 1.55
#if defined BOOST_THREAD_PROVIDES_DEPRECATED_FEATURES_SINCE_V3_0_0
Modified: trunk/libs/thread/build/Jamfile.v2
==============================================================================
--- trunk/libs/thread/build/Jamfile.v2 Sun Jun 9 04:07:47 2013 (r84708)
+++ trunk/libs/thread/build/Jamfile.v2 2013-06-09 04:27:00 EDT (Sun, 09 Jun 2013) (r84709)
@@ -263,8 +263,11 @@
result = <build>no ;
}
}
+ result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
+ } else {
+ result += <define>BOOST_THREAD_USES_CHRONO ;
+ result += <library>/boost/chrono//boost_chrono ;
}
- result += <define>BOOST_THREAD_DONT_USE_CHRONO ;
if <toolset>pgi in $(properties) || <toolset>vacpp in $(properties)
{
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk