finding PerlIO symbols for VMS
authorCraig A. Berry <craigberry@mac.com>
Sun, 17 Dec 2000 00:18:35 +0000 (18:18 -0600)
committerJarkko Hietaniemi <jhi@iki.fi>
Tue, 19 Dec 2000 17:03:08 +0000 (17:03 +0000)
Message-Id: <p04330102b661bc01daba@[172.16.52.1]>

p4raw-id: //depot/perl@8190

perlio.h
vms/gen_shrfls.pl

index b2e5179..0c6b26a 100644 (file)
--- 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 */
index 6c54c10..48499d4 100644 (file)
@@ -172,7 +172,7 @@ if ($docc) {
 else {
   open(CPP,"$cpp_file") or die "$0: Can't read preprocessed file $cpp_file: $!\n";
 }
-%checkh = map { $_,1 } qw( thread bytecode byterun proto );
+%checkh = map { $_,1 } qw( thread bytecode byterun proto perlio );
 $ckfunc = 0;
 LINE: while (<CPP>) {
   while (/^#.*vmsish\.h/i .. /^#.*perl\.h/i) {