summaryrefslogtreecommitdiff
path: root/perlio.h
diff options
context:
space:
mode:
Diffstat (limited to 'perlio.h')
-rw-r--r--perlio.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/perlio.h b/perlio.h
index b2e5179470..0c6b26ab1d 100644
--- a/perlio.h
+++ b/perlio.h
@@ -307,7 +307,7 @@ extern int PerlIO_setpos (PerlIO *,SV *);
#ifndef PerlIO_fdupopen
extern PerlIO * PerlIO_fdupopen (pTHX_ PerlIO *);
#endif
-#ifndef PerlIO_modestr
+#if !defined(PerlIO_modestr) && !defined(PERLIO_IS_STDIO)
extern char *PerlIO_modestr (PerlIO *,char *buf);
#endif
#ifndef PerlIO_isutf8
@@ -320,10 +320,14 @@ extern int PerlIO_apply_layers (pTHX_ PerlIO *f, const char *mode, const char *n
extern int PerlIO_binmode (pTHX_ PerlIO *f, int iotype, int omode, const char *names);
#endif
+#ifndef PERLIO_IS_STDIO
+
extern void PerlIO_cleanup();
extern void PerlIO_debug(const char *fmt,...);
+#endif
+
END_EXTERN_C
#endif /* _PERLIO_H */