FEX: Fix build for MinGW. No need to use the safe version (and non standard) of localtime here.
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1012 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
879ddd06ed
commit
9146e35511
|
@ -289,7 +289,7 @@ blargg_err_t Zip7_Extractor::next_v()
|
||||||
time_t _time = time;
|
time_t _time = time;
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
localtime_s( &tm, &_time );
|
tm = *localtime( &_time );
|
||||||
#else
|
#else
|
||||||
localtime_r( &_time, &tm );
|
localtime_r( &_time, &tm );
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue