summaryrefslogtreecommitdiffstats
path: root/compat/strftime.c
diff options
context:
space:
mode:
Diffstat (limited to 'compat/strftime.c')
-rw-r--r--compat/strftime.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/compat/strftime.c b/compat/strftime.c
index 68016ac..d3a1075 100644
--- a/compat/strftime.c
+++ b/compat/strftime.c
@@ -44,6 +44,9 @@
* SUCH DAMAGE.
*/
+#if defined(_WIN32) && !defined(_WIN64)
+# define _USE_32BIT_TIME_T
+#endif
#include <time.h>
#include <string.h>
#include <locale.h>