diff options
author | Karl Williamson <khw@cpan.org> | 2019-11-11 17:09:13 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2019-11-11 20:55:39 -0700 |
commit | 8c3c64966f901bc5b950a041793d7b36da8a016b (patch) | |
tree | a647ddc6bfe7adcbf6e58338365e375b3954a441 /ebcdic_tables.h | |
parent | 82257e20fc6def7fe08a0c6dc5524db5b5b63011 (diff) | |
download | perl-8c3c64966f901bc5b950a041793d7b36da8a016b.tar.gz |
regen/ebcdic.pl: Allow for declaring table size.
This fixes a bug where xlc requires the size of the array.
Diffstat (limited to 'ebcdic_tables.h')
-rw-r--r-- | ebcdic_tables.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ebcdic_tables.h b/ebcdic_tables.h index 214b984992..1673fa631e 100644 --- a/ebcdic_tables.h +++ b/ebcdic_tables.h @@ -422,9 +422,9 @@ SOFTWARE. * extend to the platform's infinity */ # ifndef DOINIT - EXTCONST UV PL_partition_by_byte_length[]; + EXTCONST UV PL_partition_by_byte_length[38]; # else - EXTCONST UV PL_partition_by_byte_length[] = { + EXTCONST UV PL_partition_by_byte_length[38] = { 0x00, 0x41, 0x4b, @@ -853,9 +853,9 @@ SOFTWARE. * extend to the platform's infinity */ # ifndef DOINIT - EXTCONST UV PL_partition_by_byte_length[]; + EXTCONST UV PL_partition_by_byte_length[40]; # else - EXTCONST UV PL_partition_by_byte_length[] = { + EXTCONST UV PL_partition_by_byte_length[40] = { 0x00, 0x41, 0x4b, |