forked from boostorg/config
Add version check for C++17 features in suffix.hpp
Fixes https://github.com/boostorg/config/issues/287.
This commit is contained in:
1 parent
7292b5d6d1
commit
8dcea4d78c
1 file changed
+1
-1
@@ -1042,7 +1042,7 @@ namespace std{ using ::type_info; }
|
||||
#endif
|
||||
|
||||
// This is a catch all case for obsolete compilers / std libs:
|
||||
#if !defined(__has_include)
|
||||
#if (!defined(__has_include) || (__cplusplus < 201700)) && !defined(_MSC_VER)
|
||||
# define BOOST_NO_CXX17_HDR_OPTIONAL
|
||||
# define BOOST_NO_CXX17_HDR_STRING_VIEW
|
||||
# define BOOST_NO_CXX17_HDR_VARIANT
|
||||
|
||||
Reference in new issue
Block a user