summaryrefslogtreecommitdiffstats
path: root/win
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-12 12:53:08 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-12 12:53:08 (GMT)
commit305a6ceaf9f7a7a13591c7172bd67299750be7e5 (patch)
tree6a05868584706264445e7e87022719febde3347b /win
parentc2c5a332c1228a18b01e4aa6fabcf7715ae3e4e2 (diff)
downloadtcl-305a6ceaf9f7a7a13591c7172bd67299750be7e5.zip
tcl-305a6ceaf9f7a7a13591c7172bd67299750be7e5.tar.gz
tcl-305a6ceaf9f7a7a13591c7172bd67299750be7e5.tar.bz2
Fix tcl8.6b2/win/tclWinPort.h:122:10: error: redefinition of 'struct __stati64' on newer mingw versions when compiling tktreectrl
Diffstat (limited to 'win')
-rw-r--r--win/tclWinPort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index ca58470..aac3fd3 100644
--- a/win/tclWinPort.h
+++ b/win/tclWinPort.h
@@ -118,7 +118,7 @@
/*
* Not all mingw32 versions have this struct.
*/
-#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64)
+#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && !defined(HAVE_STRUCT_STAT32I64) && defined(BUILD_tcl)
struct _stat32i64 {
dev_t st_dev;
ino_t st_ino;