This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
A terser way to write the \-ing code in pv_uni_display
[perl5.git]
/
perlsfio.h
diff --git
a/perlsfio.h
b/perlsfio.h
index
de7e9ac
..
c5595c7
100644
(file)
--- 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 ... */
/* The next #ifdef should be redundant if Configure behaves ... */
+#ifndef FILE
+#define FILE FILE
+#endif
#ifdef I_SFIO
#include <sfio.h>
#endif
#ifdef I_SFIO
#include <sfio.h>
#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_rewind(f) (void) sfseek((f),0L,0)
#define PerlIO_tmpfile() sftmp(0)
-#
define PerlIO_importFILE(f,fl) Perl_croak(aTHX_ "Import from FILE * unimplemeted")
-#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_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)
#define PerlIO_setlinebuf(f) sfset(f,SF_LINE,1)