summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/asctime_r.h2
-rw-r--r--src/localtime_r.h2
2 files changed, 4 insertions, 0 deletions
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 <time.h>
+#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 <time.h>
+#undef localtime_r
+
struct tm * localtime_r(const time_t *clock, struct tm *result);
#ifdef __cplusplus