Buildfix for targets that don't have HAVE_BUFFERED_IO defined

This commit is contained in:
twinaphex 2016-06-03 09:24:34 +02:00
parent 30d3cf8a4e
commit 0ae2e90783

View File

@ -296,7 +296,7 @@ int filestream_getc(RFILE *stream)
#if defined(HAVE_BUFFERED_IO)
return fgetc(stream->fp);
#else
return getc(stream->fp);
return getc(stream->fd);
#endif
}