summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-21 08:31:55 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-21 08:31:55 (GMT)
commit275f13c8c23a27625a0931a59f2fe57449a55b39 (patch)
treec04b63e479be3797eb3ac49c72e6158a8827ff84 /win/tclWinPort.h
parentcc22ceefdff6f11cca4bc8b8221a3b03c89aa58d (diff)
parentcf850be37c59a3eba3ffe4e91083df63b0884e2d (diff)
downloadtcl-275f13c8c23a27625a0931a59f2fe57449a55b39.zip
tcl-275f13c8c23a27625a0931a59f2fe57449a55b39.tar.gz
tcl-275f13c8c23a27625a0931a59f2fe57449a55b39.tar.bz2
Bug-3474726 minGW Tcl_StatBuf not defined correctly in tcl.h
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index 6e9f2ad..16a784c 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -121,9 +121,9 @@
#include <time.h>
/*
- * Not all mingw32 versions have this struct.
+ * cygwin does not have this struct.
*/
-#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && defined(HAVE_NO_STRUCT_STAT32I64)
+#ifdef __CYGWIN__
struct _stat32i64 {
dev_t st_dev;
ino_t st_ino;
@@ -133,15 +133,9 @@
short st_gid;
dev_t st_rdev;
__int64 st_size;
-#ifdef __CYGWIN__
struct {long tv_sec;} st_atim;
struct {long tv_sec;} st_mtim;
struct {long tv_sec;} st_ctim;
-#else
- long st_atime;
- long st_mtime;
- long st_ctime;
-#endif
};
#endif