(2006-08-06) rescue-bootcd
This commit is contained in:
16
extra/syslinux-3.09/com32/lib/putchar.c
Normal file
16
extra/syslinux-3.09/com32/lib/putchar.c
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* putchar.c
|
||||
*
|
||||
* gcc "printf decompilation" expects this to exist...
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
|
||||
#undef putchar
|
||||
|
||||
int putchar(int c)
|
||||
{
|
||||
unsigned char ch = c;
|
||||
|
||||
return _fwrite(&ch, 1, stdout) == 1 ? ch : EOF;
|
||||
}
|
||||
Reference in New Issue
Block a user