blob: 176a73c2ae9ae3ab6a7d948edb8f0656d753dc1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
#ifndef STDIO_H
#define STDIO_H
#ifdef __wasilibc_unmodified_upstream /* WASI doesn't need to define FILE as a complete type */
#define __DEFINED_struct__IO_FILE
#endif
#include "../../include/stdio.h"
#undef stdin
#undef stdout
#undef stderr
extern hidden FILE __stdin_FILE;
extern hidden FILE __stdout_FILE;
extern hidden FILE __stderr_FILE;
#define stdin (&__stdin_FILE)
#define stdout (&__stdout_FILE)
#define stderr (&__stderr_FILE)
#endif
|