X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=perlsdio.h;h=d09b6322286c7d7adfe87f3cd50f4033aec4f2d7;hb=7207e29d564e32c8ec2cb43eabae72ff68c02442;hp=fd990c06d8376eb97c357fcb3df7f6e385c8c065;hpb=0e06870bf080a38cda51c06c6612359afc2334e1;p=p5sagit%2Fp5-mst-13.2.git diff --git a/perlsdio.h b/perlsdio.h index fd990c0..d09b632 100644 --- a/perlsdio.h +++ b/perlsdio.h @@ -1,4 +1,9 @@ #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,13 +13,13 @@ #define PerlIO_stdout() stdout #define PerlIO_stdin() stdin -#define PerlIO_fdupopen(f) (f) #define PerlIO_isutf8(f) 0 #define PerlIO_printf fprintf #define PerlIO_stdoutf printf #define PerlIO_vprintf(f,fmt,a) vfprintf(f,fmt,a) #define PerlIO_write(f,buf,count) fwrite1(buf,1,count,f) +#define PerlIO_unread(f,buf,count) (-1) #define PerlIO_open fopen #define PerlIO_fdopen fdopen #define PerlIO_reopen freopen @@ -135,4 +140,5 @@ #define PerlIO_get_bufsiz(f) (abort(),0) #endif +#endif /* NETWARE */ #endif /* PERLIO_IS_STDIO */