summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-09-02 07:34:28 -0600
committerKarl Williamson <khw@cpan.org>2022-09-09 12:26:40 -0600
commit5e395a7af03c83ac012073ec7e17fd26f27bfa59 (patch)
tree5d49d3f9c89a4ca296853fba02fdcb0f6eb8bfd2 /intrpvar.h
parentd94aa97e72e6998a85674583fa0859e2a3a7fa42 (diff)
downloadperl-5e395a7af03c83ac012073ec7e17fd26f27bfa59.tar.gz
locale.c: Move #define to perl.h; use it elsewhere
Rather than recalculate this combined conditional, do it once in perl.h.
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/intrpvar.h b/intrpvar.h
index 81a15ad50b..bae3b21b7d 100644
--- a/intrpvar.h
+++ b/intrpvar.h
@@ -738,8 +738,7 @@ PERLVAR(I, constpadix, PADOFFSET) /* lowest unused for constants */
PERLVAR(I, padix_floor, PADOFFSET) /* how low may inner block reset padix */
-#if defined(USE_POSIX_2008_LOCALE) \
- && ! defined(USE_QUERYLOCALE)
+#ifdef USE_PL_CURLOCALES
/* This is the most number of categories we've encountered so far on any
* platform */