diff options
Diffstat (limited to 'systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h')
-rw-r--r-- | systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h b/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h index c500aa4180..e8770e6352 100644 --- a/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h +++ b/systems/texlive/tlnet/tlpkg/tlperl/lib/CORE/op_reg_common.h @@ -137,8 +137,8 @@ get_regex_charset(const U32 flags) * directly in the #define because doing so confuses regcomp.pl. * (2**n - 1) is n 1 bits, so the below gets the contiguous bits between the * beginning and ending shifts */ -#if RXf_PMf_COMPILETIME != (((1 << (_RXf_PMf_SHIFT_COMPILETIME))-1) \ - & (~((1 << RXf_PMf_STD_PMMOD_SHIFT)-1))) +#if RXf_PMf_COMPILETIME != ((nBIT_MASK(_RXf_PMf_SHIFT_COMPILETIME)) \ + & (~(nBIT_MASK( RXf_PMf_STD_PMMOD_SHIFT)))) # error RXf_PMf_COMPILETIME is invalid #endif |