From a615d3c6d31b6e7790fb17d46fecba3e4ebfc986 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Wed, 7 Oct 2015 06:23:38 -0500 Subject: [PATCH] rename _mkgmtime as timegm on win32 --- include/compat/time.h | 4 ++++ 1 file changed, 4 insertions(+) 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 @@ #else #include_next #endif + +#ifdef _WIN32 +#define timegm(tm) _mkgmtime(tm) +#endif