diff options
author | jan <jan> | 2011-04-21 21:09:05 (GMT) |
---|---|---|
committer | jan <jan> | 2011-04-21 21:09:05 (GMT) |
commit | c43268cbb41ef01e1a47b494dc8e1e3af6d9e147 (patch) | |
tree | 24fe432277860422566421329df0bb6562843db0 /win/tclWinPort.h | |
parent | 3dee0582a464245f4ebfb6cc887e198566d3f035 (diff) | |
download | tcl-c43268cbb41ef01e1a47b494dc8e1e3af6d9e147.zip tcl-c43268cbb41ef01e1a47b494dc8e1e3af6d9e147.tar.gz tcl-c43268cbb41ef01e1a47b494dc8e1e3af6d9e147.tar.bz2 |
[Bug 3288345]: Bring cygwin Tcl_StatBuf a little closer to reality
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r-- | win/tclWinPort.h | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h index 5115dab..f228a22 100644 --- a/win/tclWinPort.h +++ b/win/tclWinPort.h @@ -99,17 +99,23 @@ */ #if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64) struct _stat32i64 { - _dev_t st_dev; - _ino_t st_ino; + dev_t st_dev; + ino_t st_ino; unsigned short st_mode; short st_nlink; short st_uid; short st_gid; - _dev_t st_rdev; + 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 |