summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan <jan>2011-04-20 00:01:54 (GMT)
committerjan <jan>2011-04-20 00:01:54 (GMT)
commitb99b0b6866dfddd102e496aa634c4b940ace19d7 (patch)
tree3311ff091a6d8a60128e5ab87c48ea95450f51bd /win
parenta6a5cd0c448ed7eab1edf7e9812853b9111593d5 (diff)
downloadtcl-b99b0b6866dfddd102e496aa634c4b940ace19d7.zip
tcl-b99b0b6866dfddd102e496aa634c4b940ace19d7.tar.gz
tcl-b99b0b6866dfddd102e496aa634c4b940ace19d7.tar.bz2
fix for [Bug 3288345]: Wrong Tcl_StatBuf used on MinGW. Follow-up: get it right for cygwin and WIN64 as well.
Diffstat (limited to 'win')
-rw-r--r--win/tclWinFile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index 5f88cb2..99dfc2f 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -12,8 +12,9 @@
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*/
-//#define _WIN32_WINNT 0x0500
-
+#ifndef _WIN64
+# define _USE_32BIT_TIME_T
+#endif
#include "tclWinInt.h"
#include <winioctl.h>
#include <sys/stat.h>