Build get_layers() also under -Uuseperlio.
Jarkko Hietaniemi [Mon, 14 Apr 2003 18:58:01 +0000 (18:58 +0000)]
p4raw-id: //depot/perl@19205

universal.c

index 6b011cf..cecf17b 100644 (file)
@@ -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);
 }