Fix string_view.h

This commit is contained in:
Fangrui Song 2018-02-01 23:27:39 -08:00
parent e42f6b6191
commit 57a4cf3265

View File

@ -1,7 +1,3 @@
#include <cstddef> // to check __GLIBCXX__ #pragma once
#if __cplusplus >= 201703L || (defined(__has_include) && __has_include(<string_view>) && !defined(__GLIBCXX__))
#include <string_view>
#else
#define STX_NAMESPACE_NAME std #define STX_NAMESPACE_NAME std
#include "string_view.hpp" #include "string_view.hpp"
#endif