Skip to content

Commit

Permalink
utfebcdic.h: Fix EBCDIC compilation error
Browse files Browse the repository at this point in the history
The #include needs to always be done, so remove the #ifdef.  The
included file has the proper setup anyway for the variables that were
used.
  • Loading branch information
khwilliamson committed Aug 19, 2019
1 parent a463528 commit 49dd909
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions utfebcdic.h
Original file line number Diff line number Diff line change
Expand Up @@ -121,22 +121,8 @@

START_EXTERN_C

#ifdef DOINIT

#include "ebcdic_tables.h"

#else
EXTCONST U8 PL_utf8skip[];
EXTCONST U8 PL_e2utf[];
EXTCONST U8 PL_utf2e[];
EXTCONST U8 PL_e2a[];
EXTCONST U8 PL_a2e[];
EXTCONST U8 PL_fold[];
EXTCONST U8 PL_fold_latin1[];
EXTCONST U8 PL_latin1_lc[];
EXTCONST U8 PL_mod_latin1_uc[];
#endif

END_EXTERN_C

/* EBCDIC-happy ways of converting native code to UTF-8 */
Expand Down

0 comments on commit 49dd909

Please sign in to comment.