define __STDC_UTF_{16,32}__ macros
authorÉrico Nogueira <ericonr@disroot.org>
Fri, 16 Apr 2021 00:35:20 +0000 (21:35 -0300)
committerRich Felker <dalias@aerifal.cx>
Mon, 19 Apr 2021 13:49:20 +0000 (09:49 -0400)
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

index f8cd4b8..af1a279 100644 (file)
@@ -7,4 +7,7 @@
 #define __STDC_IEC_559__ 1
 #endif
 
+#define __STDC_UTF_16__ 1
+#define __STDC_UTF_32__ 1
+
 #endif