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)
commit90f7079c2b9adf22d6c3cbb162df3fc985707528 (patch)
treec04b63e479be3797eb3ac49c72e6158a8827ff84 /win/tclWinPort.h
parent575c4b7e017b102778b8be9e2f6211cfeaff731e (diff)
parent4aed2bc2cd16fef4ffe748ec35725686038a4fbb (diff)
downloadtcl-90f7079c2b9adf22d6c3cbb162df3fc985707528.zip
tcl-90f7079c2b9adf22d6c3cbb162df3fc985707528.tar.gz
tcl-90f7079c2b9adf22d6c3cbb162df3fc985707528.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