diff --git a/third_party/string_view.h b/third_party/string_view.h index d316fdc9..b96111ff 100644 --- a/third_party/string_view.h +++ b/third_party/string_view.h @@ -1,4 +1,5 @@ -#if __cplusplus >= 201703L || defined(__has_include) && __has_include() +#include // to check __GLIBCXX__ +#if __cplusplus >= 201703L || (defined(__has_include) && __has_include() && !defined(__GLIBCXX__)) #include #else #define STX_NAMESPACE_NAME std