Fix Windows build from r1072
This commit is contained in:
parent
5f63a59561
commit
32487febfa
|
@ -70,8 +70,11 @@ ROMReader_struct STDROMReader =
|
|||
|
||||
void * STDROMReaderInit(const char * filename)
|
||||
{
|
||||
struct stat sb;
|
||||
|
||||
#ifdef WIN32
|
||||
struct _stat sb;
|
||||
#else
|
||||
struct stat sb;
|
||||
#endif
|
||||
if (stat(filename, &sb) == -1)
|
||||
return 0;
|
||||
|
||||
|
|
Loading…
Reference in New Issue