FEX: Fix build for MinGW. No need to use the safe version (and non standard) of localtime here.
This commit is contained in:
parent
432e8b627f
commit
4b1db84145
|
@ -289,7 +289,7 @@ blargg_err_t Zip7_Extractor::next_v()
|
|||
time_t _time = time;
|
||||
|
||||
#ifdef _WIN32
|
||||
localtime_s( &tm, &_time );
|
||||
tm = *localtime( &_time );
|
||||
#else
|
||||
localtime_r( &_time, &tm );
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue