forked from boostorg/unordered
Lower version of dinkumware check as msvc-12.0 supports piecewise construction
This commit is contained in:
@ -1,5 +1,6 @@
|
|||||||
|
|
||||||
// Copyright (C) 2008-2016 Daniel James.
|
// Copyright (C) 2008-2016 Daniel James.
|
||||||
|
// Copyright (C) 2022 Christian Mazakas
|
||||||
// Distributed under the Boost Software License, Version 1.0. (See accompanying
|
// 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)
|
// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
|
||||||
|
|
||||||
@ -31,7 +32,7 @@
|
|||||||
// 2012 = VC+11 = BOOST_MSVC 1700 Hopefully!
|
// 2012 = VC+11 = BOOST_MSVC 1700 Hopefully!
|
||||||
// I have no idea when Dinkumware added it, probably a lot
|
// I have no idea when Dinkumware added it, probably a lot
|
||||||
// earlier than this check.
|
// earlier than this check.
|
||||||
#if BOOST_LIB_STD_DINKUMWARE >= BOOST_VERSION_NUMBER(6, 50, 0) || \
|
#if BOOST_LIB_STD_DINKUMWARE >= BOOST_VERSION_NUMBER(6, 10, 0) || \
|
||||||
BOOST_COMP_MSVC >= BOOST_VERSION_NUMBER(17, 0, 0)
|
BOOST_COMP_MSVC >= BOOST_VERSION_NUMBER(17, 0, 0)
|
||||||
#define BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT 1
|
#define BOOST_UNORDERED_HAVE_PIECEWISE_CONSTRUCT 1
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user