Get rid of unlocked_stdio functions

Those did not provide a significant speedup, and are not provided by mingw
This commit is contained in:
ISSOtm
2019-11-23 23:00:44 +01:00
parent ceae4a44f3
commit 68410d35d3
2 changed files with 5 additions and 8 deletions

View File

@@ -164,7 +164,7 @@ static char const * const commands[] = {
static int readChar(FILE *file)
{
int curchar = getc_unlocked(file);
int curchar = getc(file);
if (curchar == EOF && ferror(file))
err(1, "%s(%u): Unexpected error in %s", linkerScriptName,