diff options
author | Karl Williamson <khw@cpan.org> | 2014-11-11 22:25:37 -0700 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2014-11-20 21:45:17 -0700 |
commit | 47e13f24847018e7947377141de64798abfa1ce9 (patch) | |
tree | db1ff966fdee5975456f1c95707f9210b8473551 /perl.h | |
parent | dd90e537d39b34eadaee8ce4df4561bd428f0f9d (diff) | |
download | perl-47e13f24847018e7947377141de64798abfa1ce9.tar.gz |
Make testing for PL_encoding into a macro
This is in preparation for making the test more complicated.
Diffstat (limited to 'perl.h')
-rw-r--r-- | perl.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -767,6 +767,9 @@ # endif #endif /* !NO_LOCALE && HAS_SETLOCALE */ +/* Are we under the encoding pragma? */ +#define IN_ENCODING UNLIKELY(PL_encoding) + #include <setjmp.h> #ifdef I_SYS_PARAM |