Update suffix.hpp for older msvc versions.

See https://github.com/boostorg/config/commit/8dcea4d78c7a9bd07322015d541fb76c77e33022#commitcomment-35718928.
This commit is contained in:
jzmaddock
2019-10-30 18:30:31 +00:00
parent c85145a2a8
commit 8aa8d541b3
3 changed files with 71 additions and 7 deletions
+3 -1
View File
@@ -1059,7 +1059,8 @@ namespace std{ using ::type_info; }
#endif
// This is a catch all case for obsolete compilers / std libs:
#if (!defined(__has_include) || (__cplusplus < 201700)) && !defined(_MSC_VER)
#if !defined(_YVALS) && !defined(_CPPLIB_VER) // msvc std lib already configured
#if (!defined(__has_include) || (__cplusplus < 201700))
# define BOOST_NO_CXX17_HDR_OPTIONAL
# define BOOST_NO_CXX17_HDR_STRING_VIEW
# define BOOST_NO_CXX17_HDR_VARIANT
@@ -1074,6 +1075,7 @@ namespace std{ using ::type_info; }
# define BOOST_NO_CXX17_HDR_VARIANT
#endif
#endif
#endif
//
// Finish off with checks for macros that are depricated / no longer supported,