mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-21 10:42:07 +00:00
Get rid of unlocked_stdio functions
Those did not provide a significant speedup, and are not provided by mingw
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user