Skip to content

Commit

Permalink
intrpvar.h: Move some defns into appropriate #ifdefs
Browse files Browse the repository at this point in the history
  • Loading branch information
khwilliamson committed Apr 29, 2021
1 parent 83b1a30 commit e06dc02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions intrpvar.h
Expand Up @@ -365,15 +365,14 @@ PERLVAR(I, exit_flags, U8) /* was exit() unexpected, etc. */

PERLVAR(I, utf8locale, bool) /* utf8 locale detected */

PERLVAR(I, in_utf8_CTYPE_locale, bool)
PERLVAR(I, in_utf8_COLLATE_locale, bool)
PERLVAR(I, in_utf8_turkic_locale, bool)
#if defined(USE_LOCALE) && defined(USE_LOCALE_THREADS)
PERLVARI(I, locale_mutex_depth, int, 0) /* Emulate general semaphore */
#endif

#ifdef USE_LOCALE_CTYPE
PERLVAR(I, warn_locale, SV *)
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 */
Expand Down Expand Up @@ -744,6 +743,7 @@ PERLVARI(I, strxfrm_is_behaved, bool, TRUE)
PERLVARI(I, strxfrm_max_cp, U8, 0) /* Highest collating cp in locale */
PERLVARI(I, collation_standard, bool, TRUE)
/* Assume simple collation */
PERLVAR(I, in_utf8_COLLATE_locale, bool)
#endif /* USE_LOCALE_COLLATE */

PERLVARI(I, langinfo_buf, const char *, NULL)
Expand Down

0 comments on commit e06dc02

Please sign in to comment.