mirror of
https://github.com/fmtlib/fmt.git
synced 2024-12-26 18:28:20 +00:00
Fix experimental/string_view detection
This commit is contained in:
parent
0f98773164
commit
c719d94473
@ -63,7 +63,7 @@
|
|||||||
# define FMT_HAS_EXPERIMENTAL_STRING_VIEW 0
|
# define FMT_HAS_EXPERIMENTAL_STRING_VIEW 0
|
||||||
#else
|
#else
|
||||||
# define FMT_HAS_STRING_VIEW 0
|
# define FMT_HAS_STRING_VIEW 0
|
||||||
# if (FMT_HAS_INCLUDE(<experimental/string_view>) && __cplusplus > 201402L)
|
# if (FMT_HAS_INCLUDE(<experimental/string_view>) && __cplusplus >= 201402L)
|
||||||
# include <experimental/string_view>
|
# include <experimental/string_view>
|
||||||
# define FMT_HAS_EXPERIMENTAL_STRING_VIEW 1
|
# define FMT_HAS_EXPERIMENTAL_STRING_VIEW 1
|
||||||
# else
|
# else
|
||||||
|
Loading…
Reference in New Issue
Block a user