From 9a40e842dfa5659c149778c5870435eb14439ed6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89rico=20Nogueira?= Date: Thu, 15 Apr 2021 21:35:20 -0300 Subject: [PATCH] define __STDC_UTF_{16,32}__ macros these macros are used to indicate that the implementation uses, respectively, utf-16 and utf-32 encoding for char16_t and char32_t. --- include/stdc-predef.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/include/stdc-predef.h b/include/stdc-predef.h index f8cd4b89..af1a2799 100644 --- a/include/stdc-predef.h +++ b/include/stdc-predef.h @@ -7,4 +7,7 @@ #define __STDC_IEC_559__ 1 #endif +#define __STDC_UTF_16__ 1 +#define __STDC_UTF_32__ 1 + #endif