summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-21 08:31:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-21 08:31:08 (GMT)
commit4aed2bc2cd16fef4ffe748ec35725686038a4fbb (patch)
tree1f6bd48dcd1089e042cf19078684ace2bdf980bb /win/tclWinPort.h
parent1fee70e19851cf0cd15e831a21a558dc898045d7 (diff)
parent11fcad9b1df2c2cf7d5ada8feb565c97b9777fef (diff)
downloadtcl-4aed2bc2cd16fef4ffe748ec35725686038a4fbb.zip
tcl-4aed2bc2cd16fef4ffe748ec35725686038a4fbb.tar.gz
tcl-4aed2bc2cd16fef4ffe748ec35725686038a4fbb.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 493b824..c5a726a 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -108,9 +108,9 @@
#define ENOTSUP -1030507
/*
- * 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;
@@ -120,15 +120,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