Added missing declarations of stdout and stderr.

This commit is contained in:
Patrick 2024-02-02 00:08:52 +01:00
parent 712b95c9d7
commit 918aab5b2e

View File

@ -8,12 +8,16 @@
#include <stddef.h> #include <stddef.h>
#include "./detail/common.h" #include "./detail/common.h"
#define stdout __stdout
#define stderr __stderr
#define stdin __stdin #define stdin __stdin
BA_EXTERN_C_BEGIN BA_EXTERN_C_BEGIN
typedef struct __file FILE; typedef struct __file FILE;
extern FILE* __stdout;
extern FILE* __stderr;
extern FILE* __stdin; extern FILE* __stdin;
static int EOF = -1; static int EOF = -1;