Fix 73d49dbde9
This commit is contained in:
parent
73d49dbde9
commit
4610b9d40e
2 changed files with 2 additions and 2 deletions
|
@ -251,7 +251,7 @@ void xml_add_DFXML_creator(const char *package, const char *version)
|
|||
char outstr[200];
|
||||
const time_t t = time(NULL);
|
||||
#if defined(__MINGW32__) || defined(__FRAMAC__)
|
||||
const struct tm *tmptr = localtime(&t);
|
||||
const struct tm *tmp = localtime(&t);
|
||||
#else
|
||||
struct tm tm_tmp;
|
||||
const struct tm *tmp = localtime_r(&t,&tm_tmp);
|
||||
|
|
|
@ -168,7 +168,7 @@ int set_datestr(char *datestr, size_t n, const time_t timev)
|
|||
strncpy(datestr, " ", n);
|
||||
return 0;
|
||||
}
|
||||
#if defined(__MINGW32__)
|
||||
#if defined(__MINGW32__) || defined(__FRAMAC__)
|
||||
tm_p=localtime(&timev);
|
||||
#else
|
||||
tm_p=localtime_r(&timev, &tmp);
|
||||
|
|
Loading…
Reference in a new issue