summaryrefslogtreecommitdiff
path: root/intrpvar.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2022-10-02 12:50:01 -0600
committerKarl Williamson <khw@cpan.org>2022-10-02 13:23:22 -0600
commit8d4b015fe47e48cbbbb9c65344a6c4ee79c25a85 (patch)
tree6de3370a73f2f1002965ab97c689b7cf66f605fc /intrpvar.h
parentb41c5839100237b5ac56296e146374b69a8ee83a (diff)
downloadperl-8d4b015fe47e48cbbbb9c65344a6c4ee79c25a85.tar.gz
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)
Diffstat (limited to 'intrpvar.h')
-rw-r--r--intrpvar.h3
1 files changed, 2 insertions, 1 deletions
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 */