Skip to content

Commit

Permalink
Change this to _MSC_VER
Browse files Browse the repository at this point in the history
  • Loading branch information
inactive123 committed Aug 29, 2017
1 parent 4e04098 commit cc24b15
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions Common/FileUtil.h
Expand Up @@ -25,15 +25,13 @@


#include "Common.h" #include "Common.h"


#ifdef _WIN32 #ifdef _MSC_VER
#ifndef __MINGW32__
inline struct tm* localtime_r(const time_t *clock, struct tm *result) { inline struct tm* localtime_r(const time_t *clock, struct tm *result) {
if (localtime_s(result, clock) == 0) if (localtime_s(result, clock) == 0)
return result; return result;
return NULL; return NULL;
} }
#endif #endif
#endif


namespace File { namespace File {


Expand Down

0 comments on commit cc24b15

Please sign in to comment.