diff --git a/include/boost/container_hash/hash/hash.hpp b/include/boost/container_hash/hash/hash.hpp index 961dda9..f648205 100644 --- a/include/boost/container_hash/hash/hash.hpp +++ b/include/boost/container_hash/hash/hash.hpp @@ -69,11 +69,9 @@ # define BOOST_HASH_HAS_STRING_VIEW 1 # include # endif -# else +# elif defined(__cplusplus) && __cplusplus >= 201703 # include -# if defined(__cpp_lib_string_view) && __cpp_lib_string_view >= 201603 -# define BOOST_HASH_HAS_STRING_VIEW 1 -# endif +# define BOOST_HASH_HAS_STRING_VIEW 1 # endif # endif #endif