diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:54:40 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2011-04-27 07:54:40 (GMT) |
commit | 17ae07e6eb2eec4417f3c077d0e81df90c49fde8 (patch) | |
tree | e2b1ca07f02e380003ea8d6e48b1e4ddeca3836b /generic/tcl.h | |
parent | 5fd3911a6da4d4cd6429d1179eb524b27d581db3 (diff) | |
parent | a7fbbf49700d95954ce9bd3e780ae56f9e3b7421 (diff) | |
download | tcl-17ae07e6eb2eec4417f3c077d0e81df90c49fde8.zip tcl-17ae07e6eb2eec4417f3c077d0e81df90c49fde8.tar.gz tcl-17ae07e6eb2eec4417f3c077d0e81df90c49fde8.tar.bz2 |
fix for [Bug 3288345]: use _stat32i64 for CYGWIN too
fix a few more gcc warnings
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 39db170..53dce4b 100644 --- a/generic/tcl.h +++ b/generic/tcl.h @@ -391,8 +391,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... |