Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r85701 - trunk/boost/thread/win32
From: vicente.botet_at_[hidden]
Date: 2013-09-16 12:55:21


Author: viboes
Date: 2013-09-16 12:55:21 EDT (Mon, 16 Sep 2013)
New Revision: 85701
URL: http://svn.boost.org/trac/boost/changeset/85701

Log:
Thread: patch for #8070 to make use of GetTickCount64 when available.

Text files modified:
   trunk/boost/thread/win32/thread_primitives.hpp | 5 +++--
   1 files changed, 3 insertions(+), 2 deletions(-)

Modified: trunk/boost/thread/win32/thread_primitives.hpp
==============================================================================
--- trunk/boost/thread/win32/thread_primitives.hpp Mon Sep 16 11:36:49 2013 (r85700)
+++ trunk/boost/thread/win32/thread_primitives.hpp 2013-09-16 12:55:21 EDT (Mon, 16 Sep 2013) (r85701)
@@ -15,11 +15,12 @@
 #include <boost/assert.hpp>
 #include <boost/thread/exceptions.hpp>
 #include <boost/detail/interlocked.hpp>
+//#include <boost/detail/win/synchronization.hpp>
 #include <algorithm>
 
 #ifndef BOOST_THREAD_WIN32_HAS_GET_TICK_COUNT_64
-#if _WIN32_WINNT >= 0x0600
-//#define BOOST_THREAD_WIN32_HAS_GET_TICK_COUNT_64
+#if _WIN32_WINNT >= 0x0600 && ! defined _WIN32_WINNT_WS08
+#define BOOST_THREAD_WIN32_HAS_GET_TICK_COUNT_64
 #endif
 #endif
 


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