From 8d4b015fe47e48cbbbb9c65344a6c4ee79c25a85 Mon Sep 17 00:00:00 2001 From: Karl Williamson Date: Sun, 2 Oct 2022 12:50:01 -0600 Subject: Certain LC_CTYPE variables need to always exist Commit b41c5839100237b5ac56296e146374b69a8ee83a moved some per-interpreter variables to within an #ifdef. I thought I had tested it agains all reasonable combinations, but it turns out that they need to be always defined (without further restructuring) --- intrpvar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'intrpvar.h') diff --git a/intrpvar.h b/intrpvar.h index a975977729..578ac313ac 100644 --- a/intrpvar.h +++ b/intrpvar.h @@ -391,9 +391,10 @@ PERLVARI(I, locale_mutex_depth, int, 0) /* Emulate general semaphore */ #ifdef USE_LOCALE_CTYPE PERLVAR(I, warn_locale, SV *) +#endif + PERLVAR(I, in_utf8_CTYPE_locale, bool) PERLVAR(I, in_utf8_turkic_locale, bool) -#endif PERLVARA(I, colors,6, char *) /* values from PERL_RE_COLORS env var */ -- cgit v1.2.1