Patch from EvilTypeGuy, compiles under gcc 3.0

This commit is contained in:
theoddone33
2001-08-03 01:37:03 +00:00
parent fcd7dfbdf4
commit 4652d33402
3 changed files with 295 additions and 295 deletions

View File

@@ -242,11 +242,11 @@ DWORD ZFileDelete()
DWORD ZFileGetFTime()
{
struct _stat filestat;
struct stat filestat;
ZFTime=0;
if (_stat(ZFFTimeFName, &filestat) < 0) ZFDate=0;
if (stat(ZFFTimeFName, &filestat) < 0) ZFDate=0;
else ZFDate = filestat.st_mtime;
return(0);