mailing list of musl libc
 help / color / mirror / code / Atom feed
* [musl] [PATCH 1/2] define __STDC_UTF_{16,32}__ macros
@ 2021-04-16  0:35 Érico Nogueira
  2021-04-16  0:35 ` [musl] [PATCH 2/2] include <stdc-predef.h> in <features.h> Érico Nogueira
  0 siblings, 1 reply; 8+ messages in thread
From: Érico Nogueira @ 2021-04-16  0:35 UTC (permalink / raw)
  To: musl; +Cc: Érico Nogueira

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
-- 
2.31.1


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2021-04-17  1:56 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-16  0:35 [musl] [PATCH 1/2] define __STDC_UTF_{16,32}__ macros Érico Nogueira
2021-04-16  0:35 ` [musl] [PATCH 2/2] include <stdc-predef.h> in <features.h> Érico Nogueira
2021-04-16 14:26   ` Rich Felker
2021-04-16 17:57     ` Érico Nogueira
2021-04-16 18:51       ` Rich Felker
2021-04-16 22:12         ` James Y Knight
2021-04-17  0:00           ` Rich Felker
2021-04-17  1:56             ` James Y Knight

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/musl/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).