From 4b1db841454dde472dcfe371242a797a9b827fb1 Mon Sep 17 00:00:00 2001 From: bgk Date: Sun, 13 Mar 2011 15:08:36 +0000 Subject: [PATCH] FEX: Fix build for MinGW. No need to use the safe version (and non standard) of localtime here. --- fex/fex/Zip7_Extractor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fex/fex/Zip7_Extractor.cpp b/fex/fex/Zip7_Extractor.cpp index 3e6fc6e5..1b6071db 100644 --- a/fex/fex/Zip7_Extractor.cpp +++ b/fex/fex/Zip7_Extractor.cpp @@ -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