diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 08:25:26 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-11-22 08:25:26 (GMT) |
commit | fa1c6a3840969cbd088df6de2db23174db998e0b (patch) | |
tree | cefc496fa17b9106333018172d505a2a317034b9 /win/tclWinPort.h | |
parent | 994f3b671b558780c799cdca18e12da6e096d395 (diff) | |
parent | 1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87 (diff) | |
download | tcl-fa1c6a3840969cbd088df6de2db23174db998e0b.zip tcl-fa1c6a3840969cbd088df6de2db23174db998e0b.tar.gz tcl-fa1c6a3840969cbd088df6de2db23174db998e0b.tar.bz2 |
[Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 2cfc715..493b824 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -14,6 +14,11 @@ #ifndef _TCLWINPORT #define _TCLWINPORT +#ifndef _WIN64 +/* See [Bug 2935503]: file mtime sets wrong time */ +# define _USE_32BIT_TIME_T +#endif + #define WIN32_LEAN_AND_MEAN #include <windows.h> #undef WIN32_LEAN_AND_MEAN |