mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 18:40:09 +00:00
(retro_file) Fix undefined symbols on win32
This commit is contained in:
parent
0af8b9c731
commit
72aa4f951c
@ -163,7 +163,12 @@ RFILE *retro_fopen(const char *path, unsigned mode, ssize_t len)
|
||||
mode_str = "wb";
|
||||
#endif
|
||||
else
|
||||
flags = O_WRONLY | O_CREAT | O_TRUNC | S_IRUSR | S_IWUSR;
|
||||
{
|
||||
flags = O_WRONLY | O_CREAT | O_TRUNC;
|
||||
#ifndef _WIN32
|
||||
flags |= S_IRUSR | S_IWUSR;
|
||||
#endif
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
case RFILE_MODE_READ_WRITE:
|
||||
|
Loading…
x
Reference in New Issue
Block a user