From 9146e35511dd4d37fae5da0e700cab051ff1016c 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. git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@1012 a31d4220-a93d-0410-bf67-fe4944624d44 --- 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