Merge pull request #17645 from georgthegreat/patch-2

Use feature testing macro to test if char8_t is supported
This commit is contained in:
alexey-milovidov 2020-12-01 10:14:30 +03:00 committed by GitHub
commit 28007844c8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,7 +8,7 @@ using Int16 = int16_t;
using Int32 = int32_t;
using Int64 = int64_t;
#if __cplusplus <= 201703L
#ifndef __cpp_char8_t
using char8_t = unsigned char;
#endif