From 5e395a7af03c83ac012073ec7e17fd26f27bfa59 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Fri, 2 Sep 2022 07:34:28 -0600 Subject: locale.c: Move #define to perl.h; use it elsewhere Rather than recalculate this combined conditional, do it once in perl.h. --- intrpvar.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'intrpvar.h') 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 */ -- cgit v1.2.1