summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/localtime_r.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-07-11 15:00:22 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-07-11 15:00:22 -0400
commitc43ff1113d89db0250ad092b9c213092cd4b8a92 (patch)
treeb02c69d6d70e6d2ca2bde6c989695222baa67859 /libs/pbd/pbd/localtime_r.h
parent5d125e1eaeb95e95117007cd6d5501ce97310ad8 (diff)
Add ::localtime_r implementation for mingw
Diffstat (limited to 'libs/pbd/pbd/localtime_r.h')
-rw-r--r--libs/pbd/pbd/localtime_r.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/libs/pbd/pbd/localtime_r.h b/libs/pbd/pbd/localtime_r.h
new file mode 100644
index 0000000000..2e7c7aa149
--- /dev/null
+++ b/libs/pbd/pbd/localtime_r.h
@@ -0,0 +1,7 @@
+#ifndef PBD_LOCALTIME_R
+#define PBD_LOCALTIME_R
+#include <time.h>
+
+extern struct tm *localtime_r(const time_t *const timep, struct tm *p_tm);
+
+#endif