From cf0bc3d98def06f4572a43c43346133145facf19 Mon Sep 17 00:00:00 2001 From: Iliyas Jorio Date: Tue, 29 Dec 2020 22:39:11 +0100 Subject: [PATCH] Fix GCC 9 support for char8_t --- src/Utilities/StringUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Utilities/StringUtils.h b/src/Utilities/StringUtils.h index 1ca1cbf..624e145 100644 --- a/src/Utilities/StringUtils.h +++ b/src/Utilities/StringUtils.h @@ -2,7 +2,7 @@ #include -#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;