diff options
author | John Goodyear <johngood@us.ibm.com> | 2013-03-02 11:49:14 -0700 |
---|---|---|
committer | Karl Williamson <public@khwilliamson.com> | 2013-08-29 09:55:59 -0600 |
commit | d53cee757ea431b386d44741eaf348d982e3dff2 (patch) | |
tree | ff47e7ead42c84f69cea16f2e8036344839998c0 /utfebcdic.h | |
parent | fca3b69698c6f943aa6cd3c097b07f3eafa8113d (diff) | |
download | perl-d53cee757ea431b386d44741eaf348d982e3dff2.tar.gz |
utfebcdic.h: Remove extra parameter expansions
These two macros were improperly expanding the parameters as well as
defining the operation, leading to compile errors.
Diffstat (limited to 'utfebcdic.h')
-rw-r--r-- | utfebcdic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/utfebcdic.h b/utfebcdic.h index 856bcd7d07..b5a33f8cce 100644 --- a/utfebcdic.h +++ b/utfebcdic.h @@ -676,8 +676,8 @@ END_EXTERN_C #define NATIVE_TO_LATIN1(ch) PL_e2a[(U8)(ch)] #define LATIN1_TO_NATIVE(ch) PL_a2e[(U8)(ch)] -#define NATIVE_UTF8_TO_I8(ch) (ch) PL_e2utf[(U8)(ch)] -#define I8_TO_NATIVE_UTF8(ch) (ch) PL_utf2e[(U8)(ch)] +#define NATIVE_UTF8_TO_I8(ch) PL_e2utf[(U8)(ch)] +#define I8_TO_NATIVE_UTF8(ch) PL_utf2e[(U8)(ch)] /* Transforms in wide UV chars */ #define NATIVE_TO_UNI(ch) (((ch) > 255) ? (ch) : NATIVE_TO_LATIN1(ch)) |