Add #include <stdint.h> to locale/gen-translit.pl and fix C-translit.h.

This commit is contained in:
Ryan S. Arnold 2013-06-05 10:28:33 -05:00
parent 840e2943e8
commit 869378a5bf
3 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
* locale/C-translit.h: Revert #include <stdint.h> because this is a
generated file. Regenerate properly from gen-translit.pl.
* locale/gen-translit.pl: Add #include <stdint.h>. This generates
locale/C-translit.h.
2013-06-05 Andreas Schwab <schwab@suse.de>
[BZ #15100]

View file

@ -1,5 +1,4 @@
#include <stdint.h>
#define NTRANSLIT 1355
static const uint32_t translit_from_idx[] =
{

View file

@ -53,6 +53,8 @@ while (<F>) {
}
}
printf "#include <stdint.h>\n";
printf "#define NTRANSLIT %d\n", $#froms + 1;
printf "static const uint32_t translit_from_idx[] =\n{\n ";