This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Integrate mainline ...
[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*/
d8d253f0 6#if !defined(_STDIO_H) && !defined(FILE) && !defined(_STDIO_INCLUDED) && !defined(__STDIO_LOADED)
760ac839
LW
7#define _STDIO_H
8#define _STDIO_INCLUDED
d8d253f0 9#define __STDIO_LOADED
760ac839
LW
10struct _FILE;
11#define FILE struct _FILE
12#endif
13
14#define _CANNOT "CANNOT"
15
16#undef stdin
17#undef stdout
18#undef stderr
19#undef getc
20#undef putc
21#undef clearerr
22#undef fflush
23#undef feof
24#undef ferror
25#undef fileno
26