aboutsummaryrefslogtreecommitdiff
path: root/include/compat/time.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/compat/time.h')
-rw-r--r--include/compat/time.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/compat/time.h b/include/compat/time.h
index 2712951..68b00a6 100644
--- a/include/compat/time.h
+++ b/include/compat/time.h
@@ -4,7 +4,11 @@
4 */ 4 */
5 5
6#ifdef _MSC_VER 6#ifdef _MSC_VER
7#if _MSC_VER >= 1900
8#include <../ucrt/time.h>
9#else
7#include <../include/time.h> 10#include <../include/time.h>
11#endif
8#define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL) 12#define gmtime_r(tp, tm) ((gmtime_s((tm), (tp)) == 0) ? (tm) : NULL)
9#else 13#else
10#include_next <time.h> 14#include_next <time.h>