summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2021-02-11 10:57:53 -0700
committerKarl Williamson <khw@cpan.org>2021-02-28 08:14:03 -0700
commit553cc101838a8c491686b81e3ac6cc4417c40139 (patch)
tree00641112405fe692ea1b386edcc1706523e521f7
parentdac4979cf4bffd6eaac2b0800bf59295818fff81 (diff)
downloadperl-553cc101838a8c491686b81e3ac6cc4417c40139.tar.gz
handy.h: Fix #ifdef
The prior code had a comment that indicated uncertainty about its correctness. I found a case where it didn't work, and am changing it accordingly. I have more confidence that this is right.
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index ff47c9bcdf..63441e2a22 100644
--- a/handy.h
+++ b/handy.h
@@ -763,7 +763,7 @@ based on the underlying C library functions):
* the current locale will use the tests that begin with "lc".
*/
-#ifdef HAS_SETLOCALE /* XXX Is there a better test for this? */
+#ifdef USE_LOCALE
# ifndef CTYPE256
# define CTYPE256
# endif