aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-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 68b00a6..3ef3bad 100644
--- a/include/compat/time.h
+++ b/include/compat/time.h
@@ -13,3 +13,7 @@
13#else 13#else
14#include_next <time.h> 14#include_next <time.h>
15#endif 15#endif
16
17#ifdef _WIN32
18#define timegm(tm) _mkgmtime(tm)
19#endif