summaryrefslogtreecommitdiffstats
path: root/win/tclWinPort.h
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:55:40 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2011-08-15 13:55:40 (GMT)
commitcdce7f15f104d0de1a8d5160a2b16bea97de652c (patch)
treeacacfab6ce2f4a7c29178f571fe8a1aa5dab754c /win/tclWinPort.h
parent250b358c0853b72bd7559a8c66837e1e376233ed (diff)
parent788d06fcf3f90ffe105c77b3230be4f3fc1a62bd (diff)
downloadtcl-cdce7f15f104d0de1a8d5160a2b16bea97de652c.zip
tcl-cdce7f15f104d0de1a8d5160a2b16bea97de652c.tar.gz
tcl-cdce7f15f104d0de1a8d5160a2b16bea97de652c.tar.bz2
mingw64 compiler warnings. Reverse the detection of struct _stat32i64,
otherwise when mingw doesn't have it, tclTest.c cannot be compiled
Diffstat (limited to 'win/tclWinPort.h')
-rw-r--r--win/tclWinPort.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/tclWinPort.h b/win/tclWinPort.h
index aac3fd3..66888b9 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) && defined(BUILD_tcl)
+#if !defined(__BORLANDC__) && !defined(_MSC_VER) && !defined(_WIN64) && defined(HAVE_NO_STRUCT_STAT32I64)
struct _stat32i64 {
dev_t st_dev;
ino_t st_ino;