This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
perl 5.003_02: [no incremental changelog available]
[perl5.git] / nostdio.h
CommitLineData
760ac839
LW
1/* This is an 1st attempt to stop other include files pulling
2 in real <stdio.h>.
3 A more ambitious set of possible symbols can be found in
4 sfio.h (inside an _cplusplus gard).
5*/
6#if !defined(_STDIO_H) && !defined(FILE) && !defined(_STDIO_INCLUDED)
7#define _STDIO_H
8#define _STDIO_INCLUDED
9struct _FILE;
10#define FILE struct _FILE
11#endif
12
13#define _CANNOT "CANNOT"
14
15#undef stdin
16#undef stdout
17#undef stderr
18#undef getc
19#undef putc
20#undef clearerr
21#undef fflush
22#undef feof
23#undef ferror
24#undef fileno
25