diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-13 09:06:53 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-13 09:06:53 +0200 |
commit | ed869aa3867d134fb37f586f1db029006677cebb (patch) | |
tree | a34cb31b0359d98e0be8a1269535f8f660c7db68 /src/libc/stdio.h | |
parent | 08487fb5bfd7f5e1d9564d4132d38592d2dd0cc2 (diff) | |
download | abaos-ed869aa3867d134fb37f586f1db029006677cebb.tar.gz abaos-ed869aa3867d134fb37f586f1db029006677cebb.tar.bz2 |
separated C library implementations with an OS_ABAOS define (for now),
we cannot test stdio and memory management in the hosted environment yet
this way
Diffstat (limited to 'src/libc/stdio.h')
-rw-r--r-- | src/libc/stdio.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/stdio.h b/src/libc/stdio.h index dbf7ac7..24632f6 100644 --- a/src/libc/stdio.h +++ b/src/libc/stdio.h @@ -5,7 +5,9 @@ #include "stddef.h" +#ifdef OS_ABAOS #include "console.h" +#endif #define EOF (-1) @@ -13,6 +15,8 @@ int puts( const char *s ); int printf( const char *format, ... ); int vprintf( const char *format, va_list args ); +#ifdef OS_ABAOS void __stdio_set_console( console_t *console ); +#endif #endif //STDIO_H |