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