diff options
author | Karl Williamson <khw@cpan.org> | 2022-06-26 09:44:26 -0600 |
---|---|---|
committer | Karl Williamson <khw@cpan.org> | 2022-07-03 19:39:24 -0600 |
commit | 1629a27e37c8a79d25c1709122a7bb67aeb513d7 (patch) | |
tree | 7f2febf57d19d2f72fb3b3718c464ed3ede3a722 /pp.c | |
parent | 85bf3b944a4989111c23c43f6ee53a3c198e6412 (diff) | |
download | perl-1629a27e37c8a79d25c1709122a7bb67aeb513d7.tar.gz |
locale: Change macro name to be C conformant
C reserves leading underscores for system use; this commit fixes
_CHECK_AND_WARN_PROBLEMATIC_LOCALE to be
CHECK_AND_WARN_PROBLEMATIC_LOCALE_
Diffstat (limited to 'pp.c')
-rw-r--r-- | pp.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -3762,7 +3762,7 @@ PP(pp_ucfirst) #ifdef USE_LOCALE_CTYPE if (IN_LC_RUNTIME(LC_CTYPE)) { - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif @@ -4128,7 +4128,7 @@ PP(pp_uc) #ifdef USE_LOCALE_CTYPE if (IN_LC_RUNTIME(LC_CTYPE)) { - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif @@ -4450,7 +4450,7 @@ PP(pp_lc) if (IN_LC_RUNTIME(LC_CTYPE)) { const U8 * next_I; - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; /* Lowercasing in a Turkic locale can cause non-UTF-8 to need to become * UTF-8 for the single case of the character 'I' */ @@ -4749,7 +4749,7 @@ PP(pp_fc) #ifdef USE_LOCALE_CTYPE if ( IN_LC_RUNTIME(LC_CTYPE) ) { /* Under locale */ - _CHECK_AND_WARN_PROBLEMATIC_LOCALE; + CHECK_AND_WARN_PROBLEMATIC_LOCALE_; } #endif |