mirror of
https://github.com/libretro/RetroArch
synced 2025-03-28 19:20:35 +00:00
no need to #ifdef fopen
This commit is contained in:
parent
a2a19ed827
commit
4a4205395b
@ -159,11 +159,7 @@ int libretrodb_open(const char *path, libretrodb_t *db)
|
||||
libretrodb_header_t header;
|
||||
libretrodb_metadata_t md;
|
||||
int rv;
|
||||
#ifdef _WIN32
|
||||
FILE *fp = fopen(path, "rb");
|
||||
#else
|
||||
FILE *fp = fopen(path, "r");
|
||||
#endif
|
||||
|
||||
if (fp == NULL)
|
||||
return -errno;
|
||||
|
Loading…
x
Reference in New Issue
Block a user