summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 07:59:58 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 07:59:58 (GMT)
commit1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87 (patch)
tree303130da4d4f15e9ff789c725197316add30d792 /generic/tclCmdAH.c
parent4ca24992adde00da972e38b64d055d9b6a83e7ea (diff)
downloadtcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.zip
tcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.tar.gz
tcl-1daf54dea7f75ed39c8b7ae5bc65a1c5cf7dcd87.tar.bz2
[Bug 2935503]: Windows: file mtime sets wrong time
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index c170b9b..02f398d 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -12,6 +12,11 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
+#ifndef _WIN64
+/* See [Bug 2935503]: file mtime sets wrong time */
+# define _USE_32BIT_TIME_T
+#endif
+
#include <sys/stat.h>
#include "tclInt.h"
#include "tclPort.h"