summaryrefslogtreecommitdiff
path: root/utf8.c
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-10-17 06:55:50 -0600
committerKarl Williamson <khw@cpan.org>2020-11-22 20:06:03 -0700
commitc62fdeb784c7643c90d2ea8c2ec0f03a548da338 (patch)
tree9c5f6ad7fe164633a5a8667402320e12d2755b45 /utf8.c
parent8dff134de1f0dc51682889d5cf8c25ab7c31bf45 (diff)
downloadperl-c62fdeb784c7643c90d2ea8c2ec0f03a548da338.tar.gz
Restrict scope/Shorten some very long macro names
The names were intended to force people to not use them outside their intended scopes. But by restricting those scopes in the first place, we don't need such unwieldy names
Diffstat (limited to 'utf8.c')
-rw-r--r--utf8.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/utf8.c b/utf8.c
index aaa620c2da..add8c093aa 100644
--- a/utf8.c
+++ b/utf8.c
@@ -3335,10 +3335,8 @@ S__to_utf8_case(pTHX_ const UV uv1, const U8 *p,
}
goto cases_to_self;
}
-#ifdef HIGHEST_CASE_CHANGING_CP_FOR_USE_ONLY_BY_UTF8_DOT_C
- if (UNLIKELY(uv1
- > HIGHEST_CASE_CHANGING_CP_FOR_USE_ONLY_BY_UTF8_DOT_C))
- {
+#ifdef HIGHEST_CASE_CHANGING_CP
+ if (UNLIKELY(uv1 > HIGHEST_CASE_CHANGING_CP)) {
goto cases_to_self;
}