diff --git a/include/boost/phoenix/stl/algorithm/detail/std_unordered_set_or_map_fwd.hpp b/include/boost/phoenix/stl/algorithm/detail/std_unordered_set_or_map_fwd.hpp index 251309a4..2e1a8436 100644 --- a/include/boost/phoenix/stl/algorithm/detail/std_unordered_set_or_map_fwd.hpp +++ b/include/boost/phoenix/stl/algorithm/detail/std_unordered_set_or_map_fwd.hpp @@ -20,8 +20,9 @@ #include #ifdef BOOST_PHOENIX_HAS_UNORDERED_SET_AND_MAP -#ifdef BOOST_PHOENIX_USING_LIBCPP -// Advance declaration not working for libc++ +#if defined(BOOST_PHOENIX_USING_LIBCPP) \ + || (defined(BOOST_DINKUMWARE_STDLIB) && (BOOST_DINKUMWARE_STDLIB < 540)) +// Advance declaration not working for libc++ and MSVC 10 #include #include #else