summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author√Črico Nogueira <ericonr@disroot.org>2021-04-15 21:35:20 -0300
committerRich Felker <dalias@aerifal.cx>2021-04-19 09:49:20 -0400
commit9a40e842dfa5659c149778c5870435eb14439ed6 (patch)
treedbd835111f97ccf1e50f2467901dfe11a253a95d
parentaad50fcd791e009961621ddfbe3d4c245fd689a3 (diff)
downloadmusl-9a40e842dfa5659c149778c5870435eb14439ed6.tar.gz
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.
-rw-r--r--include/stdc-predef.h3
1 files changed, 3 insertions, 0 deletions
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