refactor: move HAS_CHAR8_T to version.hpp

This commit is contained in:
ToruNiina
2024-07-05 23:40:16 +09:00
parent 0cc0ef959b
commit 0eb9a90abf
2 changed files with 6 additions and 7 deletions

View File

@@ -57,6 +57,11 @@
#define TOML11_CXX20_VALUE 202002L
#endif//TOML11_CXX20_VALUE
#if defined(__cpp_char8_t)
# if __cpp_char8_t >= 201811L
# define TOML11_HAS_CHAR8_T 1
# endif
#endif
#if TOML11_CPLUSPLUS_STANDARD_VERSION >= TOML11_CXX17_VALUE
# if __has_include(<string_view>)