summaryrefslogtreecommitdiffstats
path: root/generic/tcl.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-27 07:51:59 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-04-27 07:51:59 (GMT)
commita7fbbf49700d95954ce9bd3e780ae56f9e3b7421 (patch)
tree843e315f83135a7238e1a4cceee422afd141a85d /generic/tcl.h
parent127af0369038f4a62d46ebc1ea5230b64e546b86 (diff)
parent7e07607c9aa0ec022caedc4fd8150d9bac6fdce2 (diff)
downloadtcl-a7fbbf49700d95954ce9bd3e780ae56f9e3b7421.zip
tcl-a7fbbf49700d95954ce9bd3e780ae56f9e3b7421.tar.gz
tcl-a7fbbf49700d95954ce9bd3e780ae56f9e3b7421.tar.bz2
fix for [Bug 3288345]: use _stat32i64 for CYGWIN too
Diffstat (limited to 'generic/tcl.h')
-rw-r--r--generic/tcl.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/generic/tcl.h b/generic/tcl.h
index d672bd2..790b7ac 100644
--- a/generic/tcl.h
+++ b/generic/tcl.h
@@ -370,8 +370,12 @@ typedef struct _stat32i64 Tcl_StatBuf;
# elif defined(__GNUC__)
# define TCL_WIDE_INT_TYPE long long
# define TCL_LL_MODIFIER "ll"
+# if defined(__WIN32__)
+typedef struct _stat32i64 Tcl_StatBuf;
+# else
typedef struct stat Tcl_StatBuf;
-# else /* __WIN32__ */
+# endif
+# else /* ! __WIN32__ && ! __GNUC__ */
/*
* Don't know what platform it is and configure hasn't discovered what is
* going on for us. Try to guess...