[prev in list] [next in list] [prev in thread] [next in thread]
List: musl
Subject: [musl] [PATCH v2] define __STDC_UTF_{16,32}__ macros
From: Érico Nogueira <ericonr () disroot ! org>
Date: 2021-04-20 19:15:16
Message-ID: 20210420191519.23822-2-ericonr () disroot ! org
[Download RAW message or body]
these macros are used to indicate that the implementation uses,
respectively, utf-16 and utf-32 encoding for char16_t and char32_t.
---
don't change features.h to include stdc-predef.h anymore
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
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic