mirror of
https://github.com/libretro/RetroArch
synced 2025-03-29 22:20:21 +00:00
Merge pull request #4972 from alucryd/gcc710
Fix compilation with GCC 7.1.0
This commit is contained in:
commit
056af331aa
@ -235,7 +235,7 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t len)
|
||||
#endif
|
||||
{
|
||||
/* FIXME: HAVE_BUFFERED_IO is always 1, but if it is ever changed, open() needs to be changed to _wopen() for WIndows. */
|
||||
stream->fd = open(path, flags);
|
||||
stream->fd = open(path, flags, mode_int);
|
||||
if (stream->fd == -1)
|
||||
goto error;
|
||||
#ifdef HAVE_MMAP
|
||||
|
Loading…
x
Reference in New Issue
Block a user