X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlsfio.h;h=c5595c73ea5db4250a4b76e8e940863b8981530a;hb=f94e5462ce9233ce82cf4bd799d5d17cf8660e86;hp=02558767494e4cd0ba1c320180918e2b4eea1f56;hpb=3b050a92605e8ca176aeb951cf91db11faf40e0b;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlsfio.h b/perlsfio.h index 0255876..c5595c7 100644 --- a/perlsfio.h +++ b/perlsfio.h @@ -1,4 +1,16 @@ +/* perlsfio.h + * + * Copyright (C) 1996, 1999, 2000, 2001, 2002, by Larry Wall and others + * + * You may distribute under the terms of either the GNU General Public + * License or the Artistic License, as specified in the README file. + * + */ + /* The next #ifdef should be redundant if Configure behaves ... */ +#ifndef FILE +#define FILE FILE +#endif #ifdef I_SFIO #include #endif @@ -47,10 +59,12 @@ extern int _stdprintf _ARG_((const char*, ...)); #define PerlIO_rewind(f) (void) sfseek((f),0L,0) #define PerlIO_tmpfile() sftmp(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") +#if 0 +#define PerlIO_importFILE(f,fl) ((void) Perl_croak(aTHX_ "Import from FILE * unimplemented"), NULL) #define PerlIO_findFILE(f) NULL -#define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemeted") +#endif +#define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemented") +#define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemented") #define PerlIO_setlinebuf(f) sfset(f,SF_LINE,1)