X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlsfio.h;h=ed7ab9726e9924aea14367df33761886f1c83fec;hb=915425408a40baa68a3cc0c40c013f2947e7deb4;hp=02558767494e4cd0ba1c320180918e2b4eea1f56;hpb=3b050a92605e8ca176aeb951cf91db11faf40e0b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlsfio.h b/perlsfio.h index 0255876..ed7ab97 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -1,4 +1,7 @@ /* The next #ifdef should be redundant if Configure behaves ... */ +#ifndef FILE +#define FILE FILE +#endif #ifdef I_SFIO #include #endif @@ -47,9 +50,11 @@ extern int _stdprintf _ARG_((const char*, ...)); #define PerlIO_rewind(f) (void) sfseek((f),0L,0) #define PerlIO_tmpfile() sftmp(0) +#if 0 #define PerlIO_importFILE(f,fl) ((void) Perl_croak(aTHX_ "Import from FILE * unimplemeted"), NULL) -#define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemeted") #define PerlIO_findFILE(f) NULL +#endif +#define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemeted") #define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemeted") #define PerlIO_setlinebuf(f) sfset(f,SF_LINE,1)