summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl11
1 files changed, 11 insertions, 0 deletions
diff --git a/makedef.pl b/makedef.pl
index 5738763086..f401675b09 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -716,6 +716,7 @@ unless ($define{'USE_ITHREADS'}) {
PL_sharedsv_space_mutex
PL_dollarzero_mutex
PL_hints_mutex
+ PL_perlio_mutex
PL_regdupe
Perl_dirp_dup
Perl_cx_dup
@@ -1096,6 +1097,16 @@ if ($define{'USE_PERLIO'}) {
emit_symbols \@layer_syms;
emit_symbols [qw(perlsio_binmode)];
}
+ if ($define{'USE_ITHREADS'}) {
+ emit_symbols [qw(
+ PL_perlio_mutex
+ )];
+ }
+ else {
+ skip_symbols [qw(
+ PL_perlio_mutex
+ )];
+ }
} else {
# -Uuseperlio
# Skip the PerlIO layer symbols - although