Fix Windows build from r1072

This commit is contained in:
adelikat 2008-11-03 14:53:20 +00:00
parent 5f63a59561
commit 32487febfa
1 changed files with 5 additions and 2 deletions

View File

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