diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:51:59 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:51:59 (GMT) |
commit | a7fbbf49700d95954ce9bd3e780ae56f9e3b7421 (patch) | |
tree | 843e315f83135a7238e1a4cceee422afd141a85d /generic/tcl.h | |
parent | 127af0369038f4a62d46ebc1ea5230b64e546b86 (diff) | |
parent | 7e07607c9aa0ec022caedc4fd8150d9bac6fdce2 (diff) | |
download | tcl-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.h | 6 |
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... |