summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 08:30:46 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-11-22 08:30:46 (GMT)
commitff1b25db81a452f6230211bf47b563173517d4b8 (patch)
tree7c99edddbdf056e016bea0c4f2c08ffa130f0fea /win/tclWinPort.h
parentdf6dfc34691563ae25dc7970f47e3b29c66c4dec (diff)
parentfa1c6a3840969cbd088df6de2db23174db998e0b (diff)
downloadtcl-ff1b25db81a452f6230211bf47b563173517d4b8.zip
tcl-ff1b25db81a452f6230211bf47b563173517d4b8.tar.gz
tcl-ff1b25db81a452f6230211bf47b563173517d4b8.tar.bz2
[Bug 2935503] Windows: file mtime sets wrong time (VS2005+ only)
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 9b19b23..6e9f2ad 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
+
/*
* We must specify the lower version we intend to support.
*