summaryrefslogtreecommitdiff
path: root/src/localtime_r.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localtime_r.h')
-rw-r--r--src/localtime_r.h2
1 files changed, 2 insertions, 0 deletions
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