Change this to _MSC_VER
This commit is contained in:
parent
4e040986ec
commit
cc24b158ac
1 changed files with 1 additions and 3 deletions
|
@ -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 {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue