Permalink
Browse files

Change this to _MSC_VER

  • Loading branch information...
twinaphex committed Aug 29, 2017
1 parent 4e04098 commit cc24b158ac3560e8b1dc1c19226cc3bc5a84c5f3
Showing with 1 addition and 3 deletions.
  1. +1 −3 Common/FileUtil.h
View
@@ -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 {

0 comments on commit cc24b15

Please sign in to comment.