summaryrefslogtreecommitdiffstats
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)
commit751e6372d8ce07e163ea6bd864ae94bebc0167b7 (patch)
tree6a05868584706264445e7e87022719febde3347b
parent799b962aea1e21eb1d360a56a574b4bb57dd2853 (diff)
downloadtcl-751e6372d8ce07e163ea6bd864ae94bebc0167b7.zip
tcl-751e6372d8ce07e163ea6bd864ae94bebc0167b7.tar.gz
tcl-751e6372d8ce07e163ea6bd864ae94bebc0167b7.tar.bz2
Fix tcl8.6b2/win/tclWinPort.h:122:10: error: redefinition of 'struct __stati64' on newer mingw versions when compiling tktreectrl
-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;