summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexandre Oliva <aoliva@redhat.com>2015-02-23 11:22:37 -0300
committerAlexandre Oliva <aoliva@redhat.com>2015-02-23 11:35:24 -0300
commit7b1ec6a05ceac76efca999ebab515afc4caaa5e9 (patch)
tree5be9e36cc0809341d4d9139a2b8cd904fa86a1e4 /include
parentd49499c128f38e77f1b424ea4fabea0014dd95c1 (diff)
downloadglibc-7b1ec6a05ceac76efca999ebab515afc4caaa5e9.tar.gz
Amendments to Unicode 7 update.
for ChangeLog * include/stdc-predef.h (__STDC_ISO_10646__): Update to 201304L, for Unicode 7. for localedata/ChangeLog * unicode-gen/ctype_compatibility.py: Use date ranges in copyright notice. * unicode-gen/ctype_compatibility_test_cases.py: Likewise. * unicode-gen/gen_unicode_ctype.py: Likewise. * unicode-gen/utf8_compatibility.py: Likewise. * unicode-gen/utf8_gen.py: Likewise. Use upper case for global variables, use tuples for global constant arrays. From Mike FABIAN. Suggested by Mike Frysinger <vapier@gentoo.org>.
Diffstat (limited to 'include')
-rw-r--r--include/stdc-predef.h11
1 files changed, 8 insertions, 3 deletions
diff --git a/include/stdc-predef.h b/include/stdc-predef.h
index 1d6a4eb39d..e5f1139003 100644
--- a/include/stdc-predef.h
+++ b/include/stdc-predef.h
@@ -49,9 +49,14 @@
# define __STDC_IEC_559_COMPLEX__ 1
#endif
-/* wchar_t uses ISO/IEC 10646 (2nd ed., published 2011-03-15) /
- Unicode 6.0. */
-#define __STDC_ISO_10646__ 201103L
+/* wchar_t uses Unicode 7.0.0. Version 7.0 of the Unicode Standard is
+ synchronized with ISO/IEC 10646:2012, plus Amendments 1 (published
+ on April, 2013) and 2 (not yet published as of February, 2015).
+ Additionally, it includes the accelerated publication of U+20BD
+ RUBLE SIGN. Therefore Unicode 7.0.0 is between 10646:2012 and
+ 10646:2014, and so we use the date ISO/IEC 10646:2012 Amd.1 was
+ published. */
+#define __STDC_ISO_10646__ 201304L
/* We do not support C11 <threads.h>. */
#define __STDC_NO_THREADS__ 1