This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Clear up a documentation confusion noticed by Xiaoyun Wu
[perl5.git] / perlio.h
index 4e508dd..e510929 100644 (file)
--- a/perlio.h
+++ b/perlio.h
 
 #if defined(PERL_IMPLICIT_SYS)
 #ifndef USE_PERLIO
+#ifndef NETWARE
 # define USE_PERLIO
 #endif
 #endif
+#endif
 
 #ifndef USE_PERLIO
 # define USE_STDIO
 #define fseek fseeko
 #endif
 
+/* BS2000 includes are sometimes a bit non standard :-( */
+#if defined(POSIX_BC) && defined(O_BINARY) && !defined(O_TEXT)
+#undef O_BINARY
+#endif
+
 #ifdef PERLIO_IS_STDIO
 /* #define PerlIO_xxxx() as equivalent stdio function */
 #include "perlsdio.h"