2
0
mirror of https://github.com/boostorg/thread.git synced 2026-01-28 07:42:12 +00:00

Thread: rollback default version 3 change.

[SVN r82302]
This commit is contained in:
Vicente J. Botet Escriba
2012-12-31 15:10:17 +00:00
parent 94e524a1e6
commit a50176c259
4 changed files with 7 additions and 5 deletions

View File

@@ -10,11 +10,13 @@
[heading Version 4.0.0 - boost 1.53]
[/
[*Breaking changes:]
[warning
BOOST_THREAD_VERSION==3 by default since Boost 1.53. So that all the deprecated features since 1.50 are not included by default. You can change this by setting the appropriated define (see Configuration section).
]
]
[*Deprecated features:]

View File

@@ -78,9 +78,9 @@
#define BOOST_THREAD_RVALUE_REFERENCES_DONT_MATCH_FUNTION_PTR
#endif
// Default version is 3
// Default version
#if !defined BOOST_THREAD_VERSION
#define BOOST_THREAD_VERSION 3
#define BOOST_THREAD_VERSION 2
#else
#if BOOST_THREAD_VERSION!=2 && BOOST_THREAD_VERSION!=3 && BOOST_THREAD_VERSION!=4
#error "BOOST_THREAD_VERSION must be 2, 3 or 4"

View File

@@ -6,7 +6,7 @@
// Distributed under the Boost Software License, Version 1.0. (See accompanying
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
#define BOOST_THREAD_VERSION 3
//#define BOOST_THREAD_VERSION 3
#include <boost/thread/detail/config.hpp>
#include <boost/thread/thread.hpp>

View File

@@ -3,7 +3,7 @@
// http://www.boost.org/LICENSE_1_0.txt)
// (C) Copyright 2007 Anthony Williams
// (C) Copyright 2007 David Deakins
// (C) Copyright 2011-2012 Vicente J. Botet Escriba
// (C) Copyright 2011-2013 Vicente J. Botet Escriba
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x400
@@ -12,7 +12,7 @@
#ifndef WINVER
#define WINVER 0x400
#endif
#define BOOST_THREAD_VERSION 3
//#define BOOST_THREAD_VERSION 3
#include <boost/thread/thread.hpp>
#include <boost/thread/once.hpp>