Fix experimental/string_view detection

This commit is contained in:
Victor Zverovich 2018-01-13 07:57:33 -08:00
parent 0f98773164
commit c719d94473

View File

@ -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