From 44b11e5fbd2a8dbb7bfb22c7bb2c50192991e015 Mon Sep 17 00:00:00 2001 From: "jan.nijtmans" Date: Sun, 5 Aug 2012 11:59:27 +0000 Subject: fix broken build on Visual Studio 9+10 --- generic/tkMain.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/generic/tkMain.c b/generic/tkMain.c index 9fd2f69..fddad3a 100644 --- a/generic/tkMain.c +++ b/generic/tkMain.c @@ -29,10 +29,15 @@ # endif #endif +#ifndef _WIN64 +/* See [Bug 2935503]: file mtime sets wrong time */ +# define _USE_32BIT_TIME_T +#endif + +#include "tkInt.h" #include #include #include -#include "tkInt.h" #ifdef NO_STDLIB_H # include "../compat/stdlib.h" #else -- cgit v0.12