Fixed a preprocessor condition.

This commit is contained in:
Andrey Semashev 2021-09-12 23:36:59 +03:00
parent 0a59f555ca
commit 1c6f85d4f9

View File

@ -157,7 +157,7 @@ input_iterator_test<std::istream_iterator<int>, int, std::ptrdiff_t, int*, int&,
// Note: gcc 10.1 defines __cplusplus to a value less than 202002L, but greater than 201703L in C++20 mode. // Note: gcc 10.1 defines __cplusplus to a value less than 202002L, but greater than 201703L in C++20 mode.
#if (__cplusplus > 201703L && ( \ #if (__cplusplus > 201703L && ( \
(defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 100100) || \ (defined(BOOST_LIBSTDCXX_VERSION) && BOOST_LIBSTDCXX_VERSION >= 100100) || \
(defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 12000) (defined(_LIBCPP_VERSION) && _LIBCPP_VERSION >= 12000) \
)) || \ )) || \
(defined(_MSVC_LANG) && _MSVC_LANG > 201703L && _MSVC_STL_UPDATE >= 202010L) (defined(_MSVC_LANG) && _MSVC_LANG > 201703L && _MSVC_STL_UPDATE >= 202010L)
#define BOOST_ITERATOR_CXX20_OSTREAM_ITERATOR #define BOOST_ITERATOR_CXX20_OSTREAM_ITERATOR