This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Re: The story of O [PATCH]
[perl5.git] / perlsdio.h
index da45c32..72ae584 100644 (file)
@@ -1,4 +1,18 @@
+/*    perlsdio.h
+ *
+ *    Copyright (c) 1997-2002, Larry Wall
+ *
+ *    You may distribute under the terms of either the GNU General Public
+ *    License or the Artistic License, as specified in the README file.
+ *
+ */
+
 #ifdef PERLIO_IS_STDIO
+
+#ifdef NETWARE
+       #include "nwstdio.h"
+#else
+
 /*
  * This file #define-s the PerlIO_xxx abstraction onto stdio functions.
  * Make this as close to original stdio as possible.
@@ -8,7 +22,6 @@
 #define PerlIO_stdout()                        stdout
 #define PerlIO_stdin()                 stdin
 
-#define PerlIO_fdupopen(f)             (f)
 #define PerlIO_isutf8(f)               0
 
 #define PerlIO_printf                  fprintf
 #define PerlIO_get_bufsiz(f)           (abort(),0)
 #endif
 
+#endif /* NETWARE */
 #endif /* PERLIO_IS_STDIO */