summaryrefslogtreecommitdiffstats
path: root/win/tclWinFile.c
diff options
context:
space:
mode:
authorjan <jan>2011-04-21 21:13:14 (GMT)
committerjan <jan>2011-04-21 21:13:14 (GMT)
commit869f829101ea038744766b33e8a5d362f1cf21ee (patch)
treee719889bb81c852a69a71fe75bd951d8899a7fe4 /win/tclWinFile.c
parent8bcda731ae34f234a8894fe1f2de0d06ce951b72 (diff)
parentc43268cbb41ef01e1a47b494dc8e1e3af6d9e147 (diff)
downloadtcl-869f829101ea038744766b33e8a5d362f1cf21ee.zip
tcl-869f829101ea038744766b33e8a5d362f1cf21ee.tar.gz
tcl-869f829101ea038744766b33e8a5d362f1cf21ee.tar.bz2
[Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality
Diffstat (limited to 'win/tclWinFile.c')
-rw-r--r--win/tclWinFile.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/win/tclWinFile.c b/win/tclWinFile.c
index aa43495..0291a41 100644
--- a/win/tclWinFile.c
+++ b/win/tclWinFile.c
@@ -12,8 +12,9 @@
* 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 "tclFileSystem.h"
#include <winioctl.h>