mirror of
https://github.com/shadps4-emu/ext-fmt.git
synced 2024-11-23 17:59:52 +00:00
Fix string_view detection
This commit is contained in:
parent
5b3f9eab94
commit
5096c0fe97
@ -151,7 +151,8 @@
|
||||
namespace fmt { using std::basic_string_view; }
|
||||
// std::experimental::basic_string_view::remove_prefix isn't constexpr in gcc 6.
|
||||
#elif (FMT_HAS_INCLUDE(<experimental/string_view>) && \
|
||||
__cplusplus >= 201402L && FMT_GCC_VERSION >= 700)
|
||||
(FMT_GCC_VERSION == 0 || FMT_GCC_VERSION >= 700) && \
|
||||
__cplusplus >= 201402L)
|
||||
# include <experimental/string_view>
|
||||
namespace fmt { using std::experimental::basic_string_view; }
|
||||
#else
|
||||
|
Loading…
Reference in New Issue
Block a user