From cc24b158ac3560e8b1dc1c19226cc3bc5a84c5f3 Mon Sep 17 00:00:00 2001 From: twinaphex Date: Tue, 29 Aug 2017 18:46:31 +0200 Subject: [PATCH] Change this to _MSC_VER --- Common/FileUtil.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Common/FileUtil.h b/Common/FileUtil.h index fa132b9311..5a0a9cb1f3 100644 --- a/Common/FileUtil.h +++ b/Common/FileUtil.h @@ -25,15 +25,13 @@ #include "Common.h" -#ifdef _WIN32 -#ifndef __MINGW32__ +#ifdef _MSC_VER inline struct tm* localtime_r(const time_t *clock, struct tm *result) { if (localtime_s(result, clock) == 0) return result; return NULL; } #endif -#endif namespace File {