From: Jarkko Hietaniemi Date: Mon, 14 Apr 2003 18:58:01 +0000 (+0000) Subject: Build get_layers() also under -Uuseperlio. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=5fef3b4a7f0c97d32160df4fc2eebedccc3910c2;p=p5sagit%2Fp5-mst-13.2.git Build get_layers() also under -Uuseperlio. p4raw-id: //depot/perl@19205 --- diff --git a/universal.c b/universal.c index 6b011cf..cecf17b 100644 --- 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); }