mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 15:45:08 +00:00
Fix string_view.h
This commit is contained in:
parent
e42f6b6191
commit
57a4cf3265
6
third_party/string_view.h
vendored
6
third_party/string_view.h
vendored
@ -1,7 +1,3 @@
|
||||
#include <cstddef> // to check __GLIBCXX__
|
||||
#if __cplusplus >= 201703L || (defined(__has_include) && __has_include(<string_view>) && !defined(__GLIBCXX__))
|
||||
#include <string_view>
|
||||
#else
|
||||
#pragma once
|
||||
#define STX_NAMESPACE_NAME std
|
||||
#include "string_view.hpp"
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user