This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Build get_layers() also under -Uuseperlio.
[perl5.git]
/
universal.c
diff --git
a/universal.c
b/universal.c
index
6b011cf
..
cecf17b
100644
(file)
--- a/
universal.c
+++ b/
universal.c
@@
-726,6
+726,7
@@
XS(XS_PerlIO_get_layers)
dXSARGS;
if (items < 1 || items % 2 == 0)
Perl_croak(aTHX_ "Usage: PerlIO_get_layers(filehandle[,args])");
+#ifdef USE_PERLIO
{
SV * sv;
GV * gv;
@@
-841,6
+842,7
@@
XS(XS_PerlIO_get_layers)
XSRETURN(nitem);
}
}
+#endif
XSRETURN(0);
}