diff --git a/src/asctime_r.h b/src/asctime_r.h index 0c38ff3a..d8ed16c2 100644 --- a/src/asctime_r.h +++ b/src/asctime_r.h @@ -42,6 +42,8 @@ extern "C" { #include +#undef asctime_r + char * asctime_r (const struct tm*, char*); #ifdef __cplusplus diff --git a/src/localtime_r.h b/src/localtime_r.h index af90b6d8..4bb869f5 100644 --- a/src/localtime_r.h +++ b/src/localtime_r.h @@ -42,6 +42,8 @@ extern "C" { #include +#undef localtime_r + struct tm * localtime_r(const time_t *clock, struct tm *result); #ifdef __cplusplus