diff --git a/third_party/string_view.h b/third_party/string_view.h index e0067ba9..d316fdc9 100644 --- a/third_party/string_view.h +++ b/third_party/string_view.h @@ -1,6 +1,6 @@ -#if __cplusplus < 201703L +#if __cplusplus >= 201703L || defined(__has_include) && __has_include() +#include +#else #define STX_NAMESPACE_NAME std #include "string_view.hpp" -#else -#include #endif