mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-08 09:49:36 +00:00
Fix clang compile
This commit is contained in:
@@ -4243,6 +4243,13 @@ ZRESULT TUnzip::Unzip(int index,void *dst,unsigned int len,DWORD flags)
|
||||
{
|
||||
#ifdef _WIN32
|
||||
SetFileTime(h,&ze.ctime,&ze.atime,&ze.mtime);
|
||||
#elif defined( ANDROID )
|
||||
struct timespec ts[2];
|
||||
ts[0].tv_sec = ze.atime;
|
||||
ts[0].tv_nsec = 0;
|
||||
ts[1].tv_sec = ze.mtime;
|
||||
ts[1].tv_nsec = 0;
|
||||
utimensat((int)h, NULL, ts, 0);
|
||||
#else
|
||||
struct timeval tv[2];
|
||||
tv[0].tv_sec = ze.atime;
|
||||
|
||||
Reference in New Issue
Block a user