mirror of https://github.com/deadw00d/AROS.git
Don't use aliased function
getc is an alias to fgetc but aliases are only available in linklibs Using getc here means that getc from stdcio.library was used and FILE structure definitions are not compatible between posixc and stdcio resulting in getc_unlocked function not working.
This commit is contained in:
parent
0459242611
commit
db7364a9b0
|
@ -45,5 +45,5 @@
|
|||
|
||||
******************************************************************************/
|
||||
{
|
||||
return getc(stream);
|
||||
return fgetc(stream);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue