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 | a37aa83fd7feb145f596dd0128a45c9db153cc4f (patch) | |
tree | 5f4d7d8630038af5426dba873bc595a4da3a9332 /generic | |
parent | 1cec5cb4f059289d8d9ef534454db8e5aa83696a (diff) | |
download | tcl-a37aa83fd7feb145f596dd0128a45c9db153cc4f.zip tcl-a37aa83fd7feb145f596dd0128a45c9db153cc4f.tar.gz tcl-a37aa83fd7feb145f596dd0128a45c9db153cc4f.tar.bz2 |
fix for [Bug 3288345]: use _stat32i64 for CYGWIN too
Diffstat (limited to 'generic')
-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... |