summaryrefslogtreecommitdiff
path: root/perlapi.h
diff options
context:
space:
mode:
authorKarl Williamson <khw@cpan.org>2020-02-20 16:51:31 -0700
committerKarl Williamson <khw@cpan.org>2020-03-11 09:52:11 -0600
commit2bc5f86adf5f1c0feb76d83e1a627e5649e6beab (patch)
tree77b9b2120fd2d2a0173cfb978f2f20df5afa41e3 /perlapi.h
parentb6d9446cecd87d16450d8743a2f0b0079e12567b (diff)
downloadperl-2bc5f86adf5f1c0feb76d83e1a627e5649e6beab.tar.gz
Add mutex for accessing ENV
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 221493437c..f3ef930c06 100644
--- a/perlapi.h
+++ b/perlapi.h
@@ -119,6 +119,8 @@ END_EXTERN_C
#define PL_do_undump (*Perl_Gdo_undump_ptr(NULL))
#undef PL_dollarzero_mutex
#define PL_dollarzero_mutex (*Perl_Gdollarzero_mutex_ptr(NULL))
+#undef PL_env_mutex
+#define PL_env_mutex (*Perl_Genv_mutex_ptr(NULL))
#undef PL_fold_locale
#define PL_fold_locale (*Perl_Gfold_locale_ptr(NULL))
#undef PL_hash_chars