Commit | Line | Data |
---|---|---|
86530b38 AT |
1 | #ifdef NEED_REAL_STDIO |
2 | #include <stdio.h> | |
3 | #else | |
4 | #if !defined(_STDIO_INCLUDED) && \ | |
5 | !defined(_stdio_h) && \ | |
6 | !defined(__STDIO_H__) && \ | |
7 | !defined(_h_stdio_) && \ | |
8 | !defined(_included_stdio) && \ | |
9 | !defined(_H_STDIO_) && \ | |
10 | !defined(_STDIO_H) && \ | |
11 | !defined(_INCLUDED_STDIO) && \ | |
12 | !defined(_STDIO_H_) && \ | |
13 | !defined(__STDIO_H) && \ | |
14 | !defined(__STDIO_LOADED) && \ | |
15 | !defined(_H_STDIO) && \ | |
16 | !defined(_INC_STDIO) && \ | |
17 | !defined(__h_stdio__) && \ | |
18 | !defined(STDIO_H) && \ | |
19 | !defined(_stdio_h_) && \ | |
20 | !defined(__stdio_h__) && \ | |
21 | !defined(_stdio_included) && \ | |
22 | !defined(_h_stdio) && \ | |
23 | !defined(__H_STDIO__) && \ | |
24 | !defined(FILE) | |
25 | #define _STDIO_INCLUDED | |
26 | #define _stdio_h | |
27 | #define __STDIO_H__ | |
28 | #define _h_stdio_ | |
29 | #define _included_stdio | |
30 | #define _H_STDIO_ | |
31 | #define _STDIO_H | |
32 | #define _INCLUDED_STDIO | |
33 | #define _STDIO_H_ | |
34 | #define __STDIO_H | |
35 | #define __STDIO_LOADED | |
36 | #define _H_STDIO | |
37 | #define _INC_STDIO | |
38 | #define __h_stdio__ | |
39 | #define STDIO_H | |
40 | #define _stdio_h_ | |
41 | #define __stdio_h__ | |
42 | #define _stdio_included | |
43 | #define _h_stdio | |
44 | #define __H_STDIO__ | |
45 | #define _FILEDEFED | |
46 | #undef FILE | |
47 | struct _FILE; | |
48 | #define FILE struct _FILE | |
49 | EXTERN int printf _ANSI_ARGS_((CONST char *,...)); | |
50 | EXTERN int sscanf _ANSI_ARGS_((CONST char *, CONST char *,...)); | |
51 | #ifdef SPRINTF_RETURN_CHAR | |
52 | EXTERN char *sprintf _ANSI_ARGS_((char *, CONST char *,...)); | |
53 | #else | |
54 | EXTERN int sprintf _ANSI_ARGS_((char *, CONST char *,...)); | |
55 | #endif | |
56 | #endif | |
57 | #endif /* NEED_REAL_STDIO */ | |
58 | ||
59 | #ifndef EOF | |
60 | #define EOF (-1) | |
61 | #endif | |
62 | ||
63 | /* This is to catch case with no stdio */ | |
64 | #ifndef BUFSIZ | |
65 | #define BUFSIZ 1024 | |
66 | #endif | |
67 | ||
68 | #ifndef SEEK_SET | |
69 | #define SEEK_SET 0 | |
70 | #endif | |
71 | ||
72 | #ifndef SEEK_CUR | |
73 | #define SEEK_CUR 1 | |
74 | #endif | |
75 | ||
76 | #ifndef SEEK_END | |
77 | #define SEEK_END 2 | |
78 | #endif |