Merge pull request #454 from ISSOtm/unlocked_windows

Fix mingw build
This commit is contained in:
Eldred Habert
2020-01-08 13:14:13 +01:00
committed by GitHub
8 changed files with 24 additions and 35 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,