From 7b1ec6a05ceac76efca999ebab515afc4caaa5e9 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Mon, 23 Feb 2015 11:22:37 -0300 Subject: 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 . --- include/stdc-predef.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/stdc-predef.h b/include/stdc-predef.h index 1d6a4eb..e5f1139 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 . */ #define __STDC_NO_THREADS__ 1 -- cgit v1.1