summaryrefslogtreecommitdiff
path: root/makedef.pl
diff options
context:
space:
mode:
authorCraig A. Berry <craigberry@mac.com>2015-07-18 13:01:00 -0500
committerCraig A. Berry <craigberry@mac.com>2015-07-23 17:54:07 -0500
commit56022c66b16bfc6b3aa117972e6ebb4c3acb03f7 (patch)
treeee52a1458fed28f10e787bcd642d09bcaa0bf229 /makedef.pl
parent41addb51313ffc451af57d5de0b72db23f47feea (diff)
downloadperl-56022c66b16bfc6b3aa117972e6ebb4c3acb03f7.tar.gz
Don't skip symbols for defunct -Uuseperlio case.
Those symbols can and must exist for the -Duseperlio case, which is the only configuration possible since 5.16.x.
Diffstat (limited to 'makedef.pl')
-rw-r--r--makedef.pl30
1 files changed, 5 insertions, 25 deletions
diff --git a/makedef.pl b/makedef.pl
index 999655c6a5..1fee334381 100644
--- a/makedef.pl
+++ b/makedef.pl
@@ -657,33 +657,13 @@ if ($ARGS{PLATFORM} eq 'netware') {
push(@layer_syms,'PL_def_layerlist','PL_known_layers','PL_perlio');
}
-if ($define{'USE_PERLIO'}) {
- # Export the symbols that make up the PerlIO abstraction, regardless
- # of its implementation - read from a file
- push @syms, 'perlio.sym';
+# Export the symbols that make up the PerlIO abstraction, regardless
+# of its implementation - read from a file
+push @syms, 'perlio.sym';
- # PerlIO with layers - export implementation
- try_symbols(@layer_syms, 'perlsio_binmode');
-} else {
- # -Uuseperlio
- # Skip the PerlIO layer symbols - although
- # nothing should have exported them anyway.
- ++$skip{$_} foreach @layer_syms;
- ++$skip{$_} foreach qw(
- perlsio_binmode
- PL_def_layerlist
- PL_known_layers
- PL_perlio
- PL_perlio_debug_fd
- PL_perlio_fd_refcnt
- PL_perlio_fd_refcnt_size
- PL_perlio_mutex
- );
+# PerlIO with layers - export implementation
+try_symbols(@layer_syms, 'perlsio_binmode');
- # Also do NOT add abstraction symbols from $perlio_sym
- # abstraction is done as #define to stdio
- # Remaining remnants that _may_ be functions are handled below.
-}
unless ($define{'USE_QUADMATH'}) {
++$skip{Perl_quadmath_format_needed};