no need to #ifdef fopen

This commit is contained in:
Andre Leiradella 2015-05-30 13:28:29 -03:00
parent a2a19ed827
commit 4a4205395b

View File

@ -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;