Fix GCC 9 support for char8_t

This commit is contained in:
Iliyas Jorio 2020-12-29 22:39:11 +01:00
parent 813523dc49
commit cf0bc3d98d

View File

@ -2,7 +2,7 @@
#include <string>
#if defined(__cplusplus) && __cplusplus > 201703L && defined(__cpp_lib_char8_t) && __cpp_lib_char8_t >= 201907L
#if defined(__cplusplus) && __cplusplus > 201703L && defined(__cpp_lib_char8_t)
typedef std::u8string u8string;
#else
typedef std::string u8string;