diff options
author | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-08-05 11:59:27 (GMT) |
---|---|---|
committer | jan.nijtmans <jan.nijtmans@noemail.net> | 2012-08-05 11:59:27 (GMT) |
commit | 48ef5865d647a8957fc7230c8e1fe535d9312788 (patch) | |
tree | 59e33c6faf225f8c7aed8103109f01db65b19454 /generic | |
parent | bc1e7561e72d1a8954183d76b581d3b0749958da (diff) | |
download | tk-48ef5865d647a8957fc7230c8e1fe535d9312788.zip tk-48ef5865d647a8957fc7230c8e1fe535d9312788.tar.gz tk-48ef5865d647a8957fc7230c8e1fe535d9312788.tar.bz2 |
fix broken build on Visual Studio 9+10
FossilOrigin-Name: 4ad21a54530c2f8d49d96bf996434d47783a6a76
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tkMain.c | 7 |
1 files changed, 6 insertions, 1 deletions
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 <ctype.h> #include <stdio.h> #include <string.h> -#include "tkInt.h" #ifdef NO_STDLIB_H # include "../compat/stdlib.h" #else |