summaryrefslogtreecommitdiff
path: root/perlsfio.h
diff options
context:
space:
mode:
Diffstat (limited to 'perlsfio.h')
-rw-r--r--perlsfio.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/perlsfio.h b/perlsfio.h
index 8c9387fbd0..d6731e46ac 100644
--- a/perlsfio.h
+++ b/perlsfio.h
@@ -34,10 +34,10 @@ 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) croak("Import from FILE * unimplemeted")
-#define PerlIO_exportFILE(f,fl) croak("Export to FILE * unimplemeted")
+#define PerlIO_importFILE(f,fl) Perl_croak(aTHX_ "Import from FILE * unimplemeted")
+#define PerlIO_exportFILE(f,fl) Perl_croak(aTHX_ "Export to FILE * unimplemeted")
#define PerlIO_findFILE(f) NULL
-#define PerlIO_releaseFILE(p,f) croak("Release of FILE * unimplemeted")
+#define PerlIO_releaseFILE(p,f) Perl_croak(aTHX_ "Release of FILE * unimplemeted")
#define PerlIO_setlinebuf(f) sfset(f,SF_LINE,1)