mirror of
https://github.com/MaskRay/ccls.git
synced 2024-11-22 23:55:08 +00:00
8 lines
249 B
C
8 lines
249 B
C
#include <cstddef> // to check __GLIBCXX__
|
|
#if __cplusplus >= 201703L || (defined(__has_include) && __has_include(<string_view>) && !defined(__GLIBCXX__))
|
|
#include <string_view>
|
|
#else
|
|
#define STX_NAMESPACE_NAME std
|
|
#include "string_view.hpp"
|
|
#endif
|