X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/f2b1176c042dd0d792a0f916f759bd848210d4d8..cc116ce7f30f9861a5b501456e5dfaf8e57de587:/nostdio.h diff --git a/nostdio.h b/nostdio.h index 9726114..64276aa 100644 --- a/nostdio.h +++ b/nostdio.h @@ -1,6 +1,6 @@ /* nostdio.h * - * Copyright (c) 1987-2002, Larry Wall + * Copyright (C) 1996, 2000, 2001, 2005, by Larry Wall and others * * You may distribute under the terms of either the GNU General Public * License or the Artistic License, as specified in the README file. @@ -25,6 +25,8 @@ struct _FILE; #define FILE struct _FILE #endif +#ifndef EBCDIC + #define _CANNOT "CANNOT" #undef clearerr @@ -111,7 +113,7 @@ struct _FILE; #define _flsbuf(c,f) _CANNOT _flsbuf_ #define fdopen(fd,p) _CANNOT _fdopen_ #define fileno(f) _CANNOT _fileno_ -#if SFIO_VERSION < 20000101L +#if defined(SFIO_VERSION) && SFIO_VERSION < 20000101L #define flockfile(f) _CANNOT _flockfile_ #define ftrylockfile(f) _CANNOT _ftrylockfile_ #define funlockfile(f) _CANNOT _funlockfile_ @@ -124,3 +126,9 @@ struct _FILE; #ifndef OS2 #define pclose(f) _CANNOT _pclose_ #endif + +#endif /*not define EBCDIC */ + +/* + * ex: set ts=8 sts=4 sw=4 et: + */