diff options
author | jan <jan> | 2011-04-20 00:01:54 (GMT) |
---|---|---|
committer | jan <jan> | 2011-04-20 00:01:54 (GMT) |
commit | b99b0b6866dfddd102e496aa634c4b940ace19d7 (patch) | |
tree | 3311ff091a6d8a60128e5ab87c48ea95450f51bd /win/tclWinFile.c | |
parent | a6a5cd0c448ed7eab1edf7e9812853b9111593d5 (diff) | |
download | tcl-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/tclWinFile.c')
-rw-r--r-- | win/tclWinFile.c | 5 |
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> |