summaryrefslogtreecommitdiffstats
path: root/generic/tclFCmd.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-19 21:22:56 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-19 21:22:56 (GMT)
commit11fcad9b1df2c2cf7d5ada8feb565c97b9777fef (patch)
treea2b88d5c4f0c32a4d74c057bad4b99f513585acf /generic/tclFCmd.c
parent868168e18953894ec72ea898ff4d2f518283184e (diff)
downloadtcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.zip
tcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.tar.gz
tcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.tar.bz2
[Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.h
Diffstat (limited to 'generic/tclFCmd.c')
-rw-r--r--generic/tclFCmd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/generic/tclFCmd.c b/generic/tclFCmd.c
index 1f73cf3..6113cf7 100644
--- a/generic/tclFCmd.c
+++ b/generic/tclFCmd.c
@@ -10,6 +10,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"