|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r86309 - trunk/boost/sync/detail
From: andrey.semashev_at_[hidden]
Date: 2013-10-14 17:19:12
Author: andysem
Date: 2013-10-14 17:19:12 EDT (Mon, 14 Oct 2013)
New Revision: 86309
URL: http://svn.boost.org/trac/boost/changeset/86309
Log:
Removed BOOST_SYNC_USE_WINAPI_VERSION and replaced its use with BOOST_USE_WINAPI_VERSION.
Text files modified:
trunk/boost/sync/detail/config.hpp | 10 +++-------
1 files changed, 3 insertions(+), 7 deletions(-)
Modified: trunk/boost/sync/detail/config.hpp
==============================================================================
--- trunk/boost/sync/detail/config.hpp Mon Oct 14 17:17:14 2013 (r86308)
+++ trunk/boost/sync/detail/config.hpp 2013-10-14 17:19:12 EDT (Mon, 14 Oct 2013) (r86309)
@@ -26,12 +26,8 @@
#pragma once
#endif
-// BOOST_SYNC_USE_PTHREAD and BOOST_SYNC_USE_WINAPI_VERSION are user-configurable macros
-#if defined(BOOST_WINDOWS) && !defined(BOOST_SYNC_USE_WINAPI_VERSION)
-#define BOOST_SYNC_USE_WINAPI_VERSION BOOST_USE_WINAPI_VERSION
-#endif
-
-#if defined(BOOST_SYNC_USE_WINAPI_VERSION) && !defined(BOOST_SYNC_USE_PTHREAD)
+// BOOST_SYNC_USE_PTHREAD is a user-configurable macro
+#if defined(BOOST_WINDOWS) && !defined(BOOST_SYNC_USE_PTHREAD)
#define BOOST_SYNC_DETAIL_PLATFORM_WINAPI
#else
#define BOOST_SYNC_DETAIL_PLATFORM_PTHREAD
@@ -40,7 +36,7 @@
#if defined(BOOST_SYNC_DETAIL_PLATFORM_PTHREAD)
#define BOOST_SYNC_DETAIL_ABI_NAMESPACE posix
#elif defined(BOOST_SYNC_DETAIL_PLATFORM_WINAPI)
-#if BOOST_SYNC_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
+#if BOOST_USE_WINAPI_VERSION >= BOOST_WINAPI_VERSION_WIN6
#define BOOST_SYNC_DETAIL_ABI_NAMESPACE winnt6
#else
#define BOOST_SYNC_DETAIL_ABI_NAMESPACE winnt5
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