summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 15:30:54 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2012-01-22 15:30:54 (GMT)
commitb8651ae498dba4d0a1edcff000582bc06a7a8efe (patch)
treef6dc9eb4efcd8c11cba9e7f1631dcd099682faba /win/tclWinPort.h
parenta7072a53147e689d2c265a66e87a2f6f74c86014 (diff)
parent11fcad9b1df2c2cf7d5ada8feb565c97b9777fef (diff)
downloadtcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.zip
tcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.tar.gz
tcl-b8651ae498dba4d0a1edcff000582bc06a7a8efe.tar.bz2
merge trunkrfe_3473670
expand all unicode tables and tools to eventually handle the unicode chars > 0xffff (if UTF_MAX_CHAR > 3)
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h10
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