diff options
author | Nicholas Clark <nick@ccl4.org> | 2013-02-25 20:53:52 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-02-25 21:12:44 -0700 |
commit | 44f2fc15e92dd872429924f381d741480f576626 (patch) | |
tree | 92ffaf0bc54a20a8312067477bd649fefad236eb /utfebcdic.h | |
parent | 4ec4ec9cb98e118a5755956a21c387799c743423 (diff) | |
download | perl-44f2fc15e92dd872429924f381d741480f576626.tar.gz |
Fix redeclaration compiler errors on EBCDIC
This patch was posted in
http://markmail.org/message/pwjxbxnlazvxgsyw
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/utfebcdic.h b/utfebcdic.h index c6001b2f37..e7f5f32c69 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -503,6 +503,10 @@ EXTCONST unsigned char PL_fold[] = { /* fast EBCDIC case folding table, 'A' => }; #endif /* 037 */ +/* Since the EBCDIC code pages are isomorphic to Latin1, that table is merely a + * duplicate */ +EXTCONST unsigned char * PL_fold_latin1 = PL_fold; + #else EXTCONST unsigned char PL_utf8skip[]; EXTCONST unsigned char PL_e2utf[]; @@ -510,12 +514,9 @@ EXTCONST unsigned char PL_utf2e[]; EXTCONST unsigned char PL_e2a[]; EXTCONST unsigned char PL_a2e[]; EXTCONST unsigned char PL_fold[]; +EXTCONST unsigned char * PL_fold_latin1; #endif -/* Since the EBCDIC code pages are isomorphic to Latin1, that table is merely a - * duplicate */ -EXTCONST unsigned char * PL_fold_latin1 = PL_fold; - END_EXTERN_C /* EBCDIC-happy ways of converting native code to UTF-8 */ |