diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-19 21:22:56 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2012-01-19 21:22:56 (GMT) |
commit | 11fcad9b1df2c2cf7d5ada8feb565c97b9777fef (patch) | |
tree | a2b88d5c4f0c32a4d74c057bad4b99f513585acf /win/tclWinPort.h | |
parent | 868168e18953894ec72ea898ff4d2f518283184e (diff) | |
download | tcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.zip tcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.tar.gz tcl-11fcad9b1df2c2cf7d5ada8feb565c97b9777fef.tar.bz2 |
[Bug-3474726] minGW Tcl_StatBuf not defined correctly in tcl.h
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 5f9e018..377aea3 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -93,9 +93,9 @@ #define ENOTSUP -1030507 /* - * Not all mingw32 versions have this struct. + * cygwin does not have this struct. */ -#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && defined(HAVE_NO_STRUCT_STAT32I64) +#ifdef __CYGWIN__ struct _stat32i64 { dev_t st_dev; ino_t st_ino; @@ -105,15 +105,9 @@ short st_gid; dev_t st_rdev; __int64 st_size; -#ifdef __CYGWIN__ struct {long tv_sec;} st_atim; struct {long tv_sec;} st_mtim; struct {long tv_sec;} st_ctim; -#else - long st_atime; - long st_mtime; - long st_ctime; -#endif }; #endif |