diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:48:03 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:48:03 (GMT) |
commit | 7e07607c9aa0ec022caedc4fd8150d9bac6fdce2 (patch) | |
tree | 5f4d7d8630038af5426dba873bc595a4da3a9332 | |
parent | 28ddb5a532e2c4ee36dba8e4831519f646002c77 (diff) | |
download | tcl-7e07607c9aa0ec022caedc4fd8150d9bac6fdce2.zip tcl-7e07607c9aa0ec022caedc4fd8150d9bac6fdce2.tar.gz tcl-7e07607c9aa0ec022caedc4fd8150d9bac6fdce2.tar.bz2 |
fix for [Bug 3288345]: use _stat32i64 for CYGWIN too
-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 1bfdae0..bd720ff 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -393,8 +393,12 @@ typedef struct _stat32i64 Tcl_StatBuf; # define TCL_WIDE_INT_TYPE long long # define TCL_LL_MODIFIER "ll" # define TCL_LL_MODIFIER_SIZE 2 +# 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... |