Change this to _MSC_VER

This commit is contained in:
twinaphex 2017-08-29 18:46:31 +02:00
parent 4e040986ec
commit cc24b158ac

View file

@ -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 {