mingw: Undef localtime_r and asctime_r

pull/220/merge release-1.18.4
Tatsuhiro Tsujikawa 2014-03-24 01:11:30 +09:00
parent dc54b90bcc
commit 551adc5133
2 changed files with 4 additions and 0 deletions

View File

@ -42,6 +42,8 @@ extern "C" {
#include <time.h>
#undef asctime_r
char * asctime_r (const struct tm*, char*);
#ifdef __cplusplus

View File

@ -42,6 +42,8 @@ extern "C" {
#include <time.h>
#undef localtime_r
struct tm * localtime_r(const time_t *clock, struct tm *result);
#ifdef __cplusplus