summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2016-04-06 21:46:28 -0600
committerKarl Williamson <khw@cpan.org>2016-04-09 13:59:24 -0600
commit929e12133425199fce3fe026156c10876ac0cbb8 (patch)
tree95286d2bc13b80afe4ed3872c14fd9c081235260 /perlapi.h
parent68b940afc96546256736bc5d8185075ddc12b205 (diff)
downloadperl-929e12133425199fce3fe026156c10876ac0cbb8.tar.gz
Add locale mutex
This adds a new mutex for use in the next commit for use with locale handling.
Diffstat (limited to 'perlapi.h')
-rw-r--r--perlapi.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/perlapi.h b/perlapi.h
index 910f789540..7aa445578e 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -123,6 +123,8 @@ END_EXTERN_C
#define PL_hints_mutex (*Perl_Ghints_mutex_ptr(NULL))
#undef PL_keyword_plugin
#define PL_keyword_plugin (*Perl_Gkeyword_plugin_ptr(NULL))
+#undef PL_locale_mutex
+#define PL_locale_mutex (*Perl_Glocale_mutex_ptr(NULL))
#undef PL_malloc_mutex
#define PL_malloc_mutex (*Perl_Gmalloc_mutex_ptr(NULL))
#undef PL_mmap_page_size