Skip to content

Commit

Permalink
Dumper.xs: Port ESC_NATIVE back on EBCDIC
Browse files Browse the repository at this point in the history
Wrap its definition with LATIN1_TO_NATIVE() which will automatically
port it back as far as possible.

This is the only use of ESC_NATIVE on cpan, so I don't think it's worth
putting it in ppport.h
  • Loading branch information
khwilliamson committed May 25, 2021
1 parent 2583ef6 commit 8a949e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dist/Data-Dumper/Dumper.xs
Expand Up @@ -22,7 +22,7 @@
* calling this .xs file for releases where they aren't defined */

#ifndef ESC_NATIVE /* \e */
# define ESC_NATIVE 27
# define ESC_NATIVE LATIN1_TO_NATIVE(27)
#endif

/* SvPVCLEAR only from perl 5.25.6 */
Expand Down

0 comments on commit 8a949e5

Please sign in to comment.