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:
deadwood 2021-02-26 15:21:00 +01:00
parent 0459242611
commit db7364a9b0
1 changed files with 1 additions and 1 deletions

View File

@ -45,5 +45,5 @@
******************************************************************************/
{
return getc(stream);
return fgetc(stream);
}