26 lines
407 B
C
26 lines
407 B
C
#ifndef STDIO_H
|
|
#define STDIO_H
|
|
|
|
//TODO: these should be contained in newlib i guess
|
|
//but until i implement it let it be here yo
|
|
#define EOF (-1)
|
|
#define INT_MAX 2147483647
|
|
|
|
int printf(const char* __restrict, ...);
|
|
int putchar(int);
|
|
int puts(const char*);
|
|
|
|
//#define KATAU_DEBUG
|
|
|
|
#ifdef KATAU_DEBUG
|
|
#define debug_log printf
|
|
#else
|
|
|
|
static int debug_log(const char* restrict format, ...)
|
|
{
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|