summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-03-18 07:28:38 -0600
committerKarl Williamson <khw@cpan.org>2022-06-12 09:50:10 -0600
commit837a524d9a79be513109b0e53dd6151bf2defb10 (patch)
tree1662cfd864115afda22827f57ce5cc9e1518286f /handy.h
parentcfe7bb26390e8266d86ba803a4e68aaaf06b32f6 (diff)
downloadperl-837a524d9a79be513109b0e53dd6151bf2defb10.tar.gz
handy.h: #define one macro in terms of another
These two macros are equivalent as folding and lowercasing are the same for this input domain. Better to say so rather than to replicate the definitions.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index d516a163c5..434fe1178a 100644
--- a/handy.h
+++ b/handy.h
@@ -2031,7 +2031,7 @@ END_EXTERN_C
# define toLOWER_LC(c) (isascii(c) ? tolower(c) : (c))
# define toUPPER_LC(c) (isascii(c) ? toupper(c) : (c))
-# define toFOLD_LC(c) (isascii(c) ? tolower(c) : (c))
+# define toFOLD_LC(c) toLOWER_LC(c)
#endif